all repos — nixfiles @ 28e7bf3f6abe55dcbb5de90e57a8ff6b2f9ad048

System and user configuration, managed by nix and home-manager

emacs: set consult projectile rebindings correctly
Alan Pearce alan@alanpearce.eu
Sun, 30 Apr 2023 18:38:08 +0200
commit

28e7bf3f6abe55dcbb5de90e57a8ff6b2f9ad048

parent

2f0cf6afcab31b1e325503fd335e6a25dd7424f3

1 files changed, 3 insertions(+), 4 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -257,11 +257,10 @@ completion-category-overrides '((file (styles basic partial-completion)))) 
 (use-package consult
   :after projectile
-  :general (:keymaps 'projectile-command-map
-                     "b" #'consult-project-buffer
-                     [remap projectile-ripgrep] #'consult-ripgrep)
   :general ([remap isearch-forward] #'consult-line
-            [remap isearch-backward] #'consult-line))
+            [remap isearch-backward] #'consult-line
+            [remap projectile-switch-to-buffer] #'consult-project-buffer
+            [remap projectile-ripgrep] #'consult-ripgrep))
 
 (use-package smerge-mode
   :after magit