summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
authorAlan Pearce2018-02-21 15:53:16 +0100
committerAlan Pearce2018-02-21 15:53:16 +0100
commit115d6f250fc30150a3c7555e0ba50122710bbd39 (patch)
tree6af45a3b25161e3efc863d8c5fcbf0f4ff1242c1 /emacs/.emacs.d/main.el
parent32fb6f5257e0b8a494d10d203b5a64f1e1e3548b (diff)
downloadnixfiles-115d6f250fc30150a3c7555e0ba50122710bbd39.tar.lz
nixfiles-115d6f250fc30150a3c7555e0ba50122710bbd39.tar.zst
nixfiles-115d6f250fc30150a3c7555e0ba50122710bbd39.zip
Emacs: Fix counsel-projectile preferring ag to rg
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 4cab6c05..e0c7cd54 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -578,7 +578,7 @@
             (def-projectile-commander-method ?A
               "Find rg on project."
               (call-interactively #'counsel-projectile-rg))
-            (define-key projectile-mode-map [remap counsel-projectile-ag] #'counsel-projectile-rg)))
+            (define-key counsel-projectile-command-map (kbd "s s") #'counsel-projectile-rg)))
 
 ;;;;; vc