summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el5
-rw-r--r--user/settings/emacs.nix1
2 files changed, 6 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)
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 89586763..8040f110 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -89,6 +89,7 @@ in
         consult
         consult-eglot
         counsel
+        counsel-projectile
         crux
         ctrlf
         dired-git-info