summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-10-15 19:01:42 +0200
committerAlan Pearce2019-10-16 19:27:33 +0200
commit6ae0cc86adeda6959bd33de0064f403a9a49beef (patch)
treebf0518a9f72766c90c2f673b17fd5582fa1d7056 /user/emacs
parent5467334d1499ac7b705e405c8039a436f975b531 (diff)
downloadnixfiles-6ae0cc86adeda6959bd33de0064f403a9a49beef.tar.lz
nixfiles-6ae0cc86adeda6959bd33de0064f403a9a49beef.tar.zst
nixfiles-6ae0cc86adeda6959bd33de0064f403a9a49beef.zip
Emacs: add ex command for plain ripgrep
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index 689fe690..cf50c204 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -366,6 +366,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
                                                             projectile-root-bottom-up
                                                             projectile-root-top-down-recurring))
 	    (with-eval-after-load 'evil-ex
+              (evil-ex-define-cmd "rg" #'ripgrep-regexp)
 	      (evil-ex-define-cmd "prg" #'projectile-ripgrep)
               (evil-ex-define-cmd "pesh[ell]" #'projectile-run-eshell))))