emacs: bind C-r/C-s to history search
Alan Pearce alan@alanpearce.eu
Fri, 24 Mar 2023 07:19:26 +0100
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -686,6 +686,9 @@ (use-package eshell :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)))