all repos — nixfiles @ 9aac52ad89c7fa8e6cb0ad00a7bb2c81291099d2

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

Emacs: Use ripgrep for projectile-commander "A" binding
Alan Pearce alan@alanpearce.eu
Tue, 11 Jul 2017 17:10:38 +0200
commit

9aac52ad89c7fa8e6cb0ad00a7bb2c81291099d2

parent

267aab78cbb12589a80afae7ec7cb851e1750895

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -638,6 +638,9 @@ (use-package counsel-projectile   :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