summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el3
1 files changed, 3 insertions, 0 deletions
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)))