summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2017-05-30 11:46:38 +0200
committerAlan Pearce2017-05-30 11:46:38 +0200
commitc82f34646cba655b49d2bc2a2247efb46e01d518 (patch)
tree0781d6dd60d4bd7dbccb2dcb1bbe2bbb146be97e /emacs/.emacs.d
parent00bc25dbebf035f003e73f64c6a856cd0acf09a1 (diff)
downloadnixfiles-c82f34646cba655b49d2bc2a2247efb46e01d518.tar.lz
nixfiles-c82f34646cba655b49d2bc2a2247efb46e01d518.tar.zst
nixfiles-c82f34646cba655b49d2bc2a2247efb46e01d518.zip
Emacs: Use rg instead of ag for counsel-projectile
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 99978c3d..1bac4eff 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -549,7 +549,9 @@ based upon some folder conventions I use.
                   projectile-completion-system 'ivy)))
 
 (use-package counsel-projectile
-  :config (counsel-projectile-on))
+  :config (progn
+            (counsel-projectile-on)
+            (define-key projectile-mode-map [remap counsel-projectile-ag] #'counsel-projectile-rg)))
 #+END_SRC
 
 ** vc