all repos — nixfiles @ 6c617ecf14ee80830a324f7be3faf08b03ede5ea

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

emacs: fix consult/projectile keybind fight
Alan Pearce alan@alanpearce.eu
Sun, 23 Apr 2023 21:46:43 +0200
commit

6c617ecf14ee80830a324f7be3faf08b03ede5ea

parent

f00b112fe8d3bcbae2c419d6fb3a98e88424d665

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -256,10 +256,10 @@ completion-category-defaults nil 			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))