summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-04-09 18:28:46 +0200
committerAlan Pearce2023-04-09 18:28:46 +0200
commit1ca9bbf5d3a52673154d4c43ee2a8d0a89e51fce (patch)
tree5c8831cb3a2471a79548e4c58528f22156cf771f /user/emacs
parent24c69efdb83e616c9a6296af7fde7d17df2dea93 (diff)
downloadnixfiles-1ca9bbf5d3a52673154d4c43ee2a8d0a89e51fce.tar.lz
nixfiles-1ca9bbf5d3a52673154d4c43ee2a8d0a89e51fce.tar.zst
nixfiles-1ca9bbf5d3a52673154d4c43ee2a8d0a89e51fce.zip
emacs: re-enable live project-based grep
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 9d02daea..89d06cb8 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -935,6 +935,11 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
               (evil-ex-define-cmd "pb" #'projectile-switch-to-buffer)
               (evil-ex-define-cmd "psw[itch]" #'projectile-switch-project))))
 
+(use-package counsel-projectile
+  :general (:keymaps 'projectile-command-map
+                     "s s" #'counsel-projectile-rg
+                     "s r" #'counsel-projectile-rg))
+
 (use-package magit
   :defer 5
   :commands (magit-status magit-dispatch)