summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-08-26 16:31:46 +0200
committerAlan Pearce2019-08-26 16:31:46 +0200
commit61c4d1c42791542ed4d34cad5cf8494ef6d01104 (patch)
tree4d8e08d58b0993eb726ae4e6e018ee69a92665c9 /emacs
parent20f783a881af19d29ab73d40b5f2b8f90bdeb5b9 (diff)
downloaddotfiles-61c4d1c42791542ed4d34cad5cf8494ef6d01104.tar.lz
dotfiles-61c4d1c42791542ed4d34cad5cf8494ef6d01104.tar.zst
dotfiles-61c4d1c42791542ed4d34cad5cf8494ef6d01104.zip
Emacs: set default projectile search to ripgrep
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 4a49f0b..30eae4e 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -311,6 +311,8 @@ With two prefix arguments, write out the day and month name."
   :commands (counsel-projectile-switch-project
 	     counsel-projectile-rg
 	     counsel-projectile-switch-to-buffer)
+  :general (:keymaps 'projectile-command-map
+                     "s s" #'counsel-projectile-rg)
   :config (progn
 	    (with-eval-after-load 'evil-ex
 	      (evil-ex-define-cmd "cprg" #'counsel-projectile-rg)