From 6ae0cc86adeda6959bd33de0064f403a9a49beef Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 15 Oct 2019 19:01:42 +0200 Subject: Emacs: add ex command for plain ripgrep --- user/emacs/.emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'user/emacs/.emacs.d') 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)))) -- cgit 1.4.1