From 0c636e3ce3fb3a810ce040633c25f19dedf49b51 Mon Sep 17 00:00:00 2001 From: KJ Date: Sat, 13 Apr 2024 19:47:19 -0400 Subject: [PATCH] Improve some consult keyboard shortcuts. --- configs/init-minibuffer.el | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/configs/init-minibuffer.el b/configs/init-minibuffer.el index 5680740..7be9d01 100644 --- a/configs/init-minibuffer.el +++ b/configs/init-minibuffer.el @@ -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