Compare commits
2 Commits
21185e0438
...
c97b3a974e
Author | SHA1 | Date | |
---|---|---|---|
c97b3a974e | |||
9b1bd93ceb |
@ -31,10 +31,10 @@
|
|||||||
(use-package consult
|
(use-package consult
|
||||||
:defer t
|
:defer t
|
||||||
:bind (;; C-c bindings in `mode-specific-map'
|
:bind (;; C-c bindings in `mode-specific-map'
|
||||||
("C-s" . consult-line)
|
("C-S-s" . consult-line)
|
||||||
("C-c r g" . consult-ripgrep)
|
("C-c r g" . consult-ripgrep)
|
||||||
("C-S-s" . isearch-forward)
|
("C-S-r" . consult-ripgrep)
|
||||||
("C-S-r" . isearch-backward)
|
;; ("C-S-s" . isearch-forward)
|
||||||
("M-m" . consult-mode-command)
|
("M-m" . consult-mode-command)
|
||||||
("C-c h" . consult-history)
|
("C-c h" . consult-history)
|
||||||
("C-c k" . consult-kmacro)
|
("C-c k" . consult-kmacro)
|
||||||
@ -75,14 +75,13 @@
|
|||||||
:map minibuffer-local-map
|
:map minibuffer-local-map
|
||||||
("<escape>" . minibuffer-keyboard-quit) ;; Cacelar minibuffer con escape (más rápido que C-g)
|
("<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-<return>" . newline) ;; Insertar nueva línea estando en el minibufer (Mas rápido que C-q C-j)
|
||||||
("C-s" . (lambda ()
|
("C-S-s" . (lambda ()
|
||||||
"Insert the current symbol."
|
"Insert the current symbol."
|
||||||
(interactive)
|
(interactive)
|
||||||
(insert (save-excursion
|
(insert (save-excursion
|
||||||
(set-buffer (window-buffer (minibuffer-selected-window)))
|
(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.
|
(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
|
;; Enable automatic preview at point in the *Completions* buffer. This is
|
||||||
;; relevant when you use the default completion UI.
|
;; relevant when you use the default completion UI.
|
||||||
|
Loading…
Reference in New Issue
Block a user