all repos — nixfiles @ 1ca9bbf5d3a52673154d4c43ee2a8d0a89e51fce

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

emacs: re-enable live project-based grep
Alan Pearce alan@alanpearce.eu
Sun, 09 Apr 2023 18:28:46 +0200
commit

1ca9bbf5d3a52673154d4c43ee2a8d0a89e51fce

parent

24c69efdb83e616c9a6296af7fde7d17df2dea93

2 files changed, 6 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -935,6 +935,11 @@ (evil-ex-define-cmd "pesh[ell]" #'projectile-run-eshell)               (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)
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -89,6 +89,7 @@ company-tabnine         consult
         consult-eglot
         counsel
+        counsel-projectile
         crux
         ctrlf
         dired-git-info