summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-04-30 18:38:08 +0200
committerAlan Pearce2023-04-30 18:39:11 +0200
commit28e7bf3f6abe55dcbb5de90e57a8ff6b2f9ad048 (patch)
tree7820085244aa61689e597c17a3c319aff9e55976 /user/emacs
parent2f0cf6afcab31b1e325503fd335e6a25dd7424f3 (diff)
downloadnixfiles-28e7bf3f6abe55dcbb5de90e57a8ff6b2f9ad048.tar.lz
nixfiles-28e7bf3f6abe55dcbb5de90e57a8ff6b2f9ad048.tar.zst
nixfiles-28e7bf3f6abe55dcbb5de90e57a8ff6b2f9ad048.zip
emacs: set consult projectile rebindings correctly
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 758061bb..d75b2025 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -257,11 +257,10 @@ With two prefix arguments, write out the day and month name."
 
 (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