Compare commits

..

No commits in common. "c97b3a974e7a09f6f84973e67f2ba2f59f347962" and "21185e0438a4c5dac27deed963cde697ebd598d3" have entirely different histories.

View File

@ -31,10 +31,10 @@
(use-package consult
:defer t
:bind (;; C-c bindings in `mode-specific-map'
("C-S-s" . consult-line)
("C-s" . consult-line)
("C-c r g" . consult-ripgrep)
("C-S-r" . consult-ripgrep)
;; ("C-S-s" . isearch-forward)
("C-S-s" . isearch-forward)
("C-S-r" . isearch-backward)
("M-m" . consult-mode-command)
("C-c h" . consult-history)
("C-c k" . consult-kmacro)
@ -75,13 +75,14 @@
:map minibuffer-local-map
("<escape>" . minibuffer-keyboard-quit) ;; Cacelar minibuffer con escape (más rápido que C-g)
("C-<return>" . newline) ;; Insertar nueva línea estando en el minibufer (Mas rápido que C-q C-j)
("C-S-s" . (lambda ()
("C-s" . (lambda ()
"Insert the current symbol."
(interactive)
(insert (save-excursion
(set-buffer (window-buffer (minibuffer-selected-window)))
(or (thing-at-point 'symbol t) ""))))) ;; Al presionar por segunda ves C-s busca el símbolo actual.
)
("M-s" . consult-history) ;; orig. historial de búsqueda
("M-r" . consult-history)) ;; orig. historual de búsqueda
;; Enable automatic preview at point in the *Completions* buffer. This is
;; relevant when you use the default completion UI.