Move windows with C-hjkl eshell's insert mode

This commit is contained in:
Henrik Lissner 2018-06-16 21:08:08 +02:00
parent 48c9936f8d
commit cc6809bcf8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -82,6 +82,10 @@ redefines its keys every time `eshell-mode' is enabled."
"D" #'+eshell/evil-delete-line) "D" #'+eshell/evil-delete-line)
(evil-define-key* 'insert eshell-mode-map (evil-define-key* 'insert eshell-mode-map
[tab] #'+eshell/pcomplete [tab] #'+eshell/pcomplete
"\C-j" #'evil-window-down
"\C-k" #'evil-window-up
"\C-h" #'evil-window-left
"\C-l" #'evil-window-right
"\C-d" #'+eshell/quit-or-delete-char "\C-d" #'+eshell/quit-or-delete-char
"\C-p" #'eshell-previous-input "\C-p" #'eshell-previous-input
"\C-n" #'eshell-next-input)) "\C-n" #'eshell-next-input))