diff options
author | Alan Pearce | 2019-10-15 19:01:42 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-16 19:27:33 +0200 |
commit | 6ae0cc86adeda6959bd33de0064f403a9a49beef (patch) | |
tree | bf0518a9f72766c90c2f673b17fd5582fa1d7056 /user/emacs | |
parent | 5467334d1499ac7b705e405c8039a436f975b531 (diff) | |
download | nixfiles-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.el | 1 |
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)))) |