From 0c6a0388c832b33cefd1e62676a8f14cfe8bbf21 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 24 Mar 2023 07:19:26 +0100 Subject: emacs: bind C-r/C-s to history search --- user/emacs/init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'user/emacs') diff --git a/user/emacs/init.el b/user/emacs/init.el index c57da062..b8d8d863 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -686,6 +686,9 @@ _p_rev _u_pper _=_: upper/lower _r_esolve :defer 5 :commands (eshell) :functions (eshell/pwd) + :general (:keymaps 'eshell-command-map + "C-r" #'eshell-history-backwards + "C-s" #'eshell-history-forwards) :init (progn (with-eval-after-load 'evil-ex (evil-ex-define-cmd "esh[ell]" #'eshell))) -- cgit 1.4.1