all repos — nixfiles @ c82f34646cba655b49d2bc2a2247efb46e01d518

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

Emacs: Use rg instead of ag for counsel-projectile
Alan Pearce alan@alanpearce.eu
Tue, 30 May 2017 11:46:38 +0200
commit

c82f34646cba655b49d2bc2a2247efb46e01d518

parent

00bc25dbebf035f003e73f64c6a856cd0acf09a1

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

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -549,7 +549,9 @@ (setq projectile-switch-project-action #'projectile-commander                   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