Change to use isearch by default and consult-line with C-S-s.

This commit is contained in:
KJ 2024-09-12 22:16:06 -04:00
parent 9b1bd93ceb
commit c97b3a974e

View File

@ -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,7 +75,7 @@
: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