Improve some consult keyboard shortcuts.

This commit is contained in:
KJ 2024-04-13 19:47:19 -04:00
parent a1aab4a3fc
commit 0c636e3ce3

View File

@ -47,8 +47,11 @@
("C-x r b" . consult-bookmark) ;; orig. bookmark-jump
("C-c p b" . consult-project-buffer) ;; orig. project-switch-to-buffer
("C-c p p" . project-switch-project) ;; orig. project-switch-to-buffer
;; Consult search
("C-c p f" . consult-find) ;; Búsqueda de archivos en todo el projecto incluso en carpetas
("C-c p l" . consult-line-multi) ;; Búsqueda en todos los buffers del projecto abiertos
;; Custom M-# bindings for fast register access
("M-#" . consult-register-load)
("C-'" . consult-register-load)
("M-'" . consult-register-store) ;; orig. abbrev-prefix-mark (unrelated)
("M-¡" . consult-register)
;; Other custom bindings
@ -62,11 +65,6 @@
("M-g k" . consult-global-mark)
("M-g i" . consult-imenu)
("M-g I" . consult-imenu-multi)
;; M-s bindings in `search-map'
("M-s f" . consult-find)
("M-s l" . consult-locate)
("M-s L" . consult-line-multi)
("M-s k" . consult-keep-lines)
;; Minibuffer history
:map minibuffer-local-map