diff options
author | Alan Pearce | 2023-03-24 07:19:26 +0100 |
---|---|---|
committer | Alan Pearce | 2023-03-24 07:19:26 +0100 |
commit | 0c6a0388c832b33cefd1e62676a8f14cfe8bbf21 (patch) | |
tree | 18a1b07778a2861897e577d68dd95d3771047956 /user | |
parent | a13dc11cb284f0cb31a908eb639b1194b4697714 (diff) | |
download | nixfiles-0c6a0388c832b33cefd1e62676a8f14cfe8bbf21.tar.lz nixfiles-0c6a0388c832b33cefd1e62676a8f14cfe8bbf21.tar.zst nixfiles-0c6a0388c832b33cefd1e62676a8f14cfe8bbf21.zip |
emacs: bind C-r/C-s to history search
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 3 |
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))) |