Fix evil change/delete operators in eshell buffers
evil-{change,delete}{,-line} now jump to the prompt before trying to modify the buffer.
This commit is contained in:
parent
4e2beb8b7e
commit
177bf2a9de
2 changed files with 26 additions and 25 deletions
|
@ -50,6 +50,8 @@ redefines its keys every time `eshell-mode' is enabled."
|
|||
(map! :map eshell-mode-map
|
||||
:n "c" #'+eshell/evil-change
|
||||
:n "C" #'+eshell/evil-change-line
|
||||
:n "d" #'+eshell/evil-delete
|
||||
:n "D" #'+eshell/evil-delete-line
|
||||
:i "C-d" #'+eshell/quit-or-delete-char
|
||||
:i "C-p" #'eshell-previous-input
|
||||
:i "C-n" #'eshell-next-input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue