summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-07-11 17:10:38 +0200
committerAlan Pearce2017-07-11 17:10:38 +0200
commit9aac52ad89c7fa8e6cb0ad00a7bb2c81291099d2 (patch)
treec0e9aff74ff34dbac8739df6970a28e0854472f1 /emacs
parent267aab78cbb12589a80afae7ec7cb851e1750895 (diff)
downloaddotfiles-9aac52ad89c7fa8e6cb0ad00a7bb2c81291099d2.tar.lz
dotfiles-9aac52ad89c7fa8e6cb0ad00a7bb2c81291099d2.tar.zst
dotfiles-9aac52ad89c7fa8e6cb0ad00a7bb2c81291099d2.zip
Emacs: Use ripgrep for projectile-commander "A" binding
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 98fb06f..8d7ef0e 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -638,6 +638,9 @@ ones.
   :after (counsel projectile)
   :config (progn
             (counsel-projectile-on)
+            (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)))
 #+END_SRC