Bind RET to +eshell/goto-end-of-prompt from normal mode

This command enters insert state.
This commit is contained in:
Henrik Lissner 2018-05-26 19:13:15 +02:00
parent c1c3a0987c
commit e70b1af49f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 9 additions and 0 deletions

View file

@ -56,6 +56,7 @@
"Setup eshell keybindings. This must be done in a hook because eshell-mode
redefines its keys every time `eshell-mode' is enabled."
(map! :map eshell-mode-map
:n [return] #'+eshell/goto-end-of-prompt
:n "c" #'+eshell/evil-change
:n "C" #'+eshell/evil-change-line
:n "d" #'+eshell/evil-delete