summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-04-23 21:46:43 +0200
committerAlan Pearce2023-04-23 21:46:43 +0200
commit6c617ecf14ee80830a324f7be3faf08b03ede5ea (patch)
tree8e0b335a926ef3a9f495f6486b467e511fdb7fe2 /user/emacs
parentf00b112fe8d3bcbae2c419d6fb3a98e88424d665 (diff)
downloadnixfiles-6c617ecf14ee80830a324f7be3faf08b03ede5ea.tar.lz
nixfiles-6c617ecf14ee80830a324f7be3faf08b03ede5ea.tar.zst
nixfiles-6c617ecf14ee80830a324f7be3faf08b03ede5ea.zip
emacs: fix consult/projectile keybind fight
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index c24b4311..899596d1 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -256,10 +256,10 @@ With two prefix arguments, write out the day and month name."
 			completion-category-overrides '((file (styles basic partial-completion))))
 
 (use-package consult
+  :after projectile
   :general (:keymaps 'projectile-command-map
                      "b" #'consult-project-buffer
-                     "s s" #'consult-ripgrep
-                     "s r" #'consult-ripgrep)
+                     [remap projectile-ripgrep] #'consult-ripgrep)
   :general ([remap isearch-forward] #'consult-line
             [remap isearch-backward] #'consult-line))