vterm: fix the `x' key, currently it does nothing

Currently, pressing the `x` key in normal mode does nothing. I don't
know much about `:motion` but AFAIK `evil-delete-char` doesn't
exist. Using `evil-forward-char` fixes the issue.
This commit is contained in:
Jakub Kadlcik 2023-01-22 05:15:33 +01:00 committed by James
parent 5047285052
commit 5016959285
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ Save in REGISTER or in the kill-ring with YANK-HANDLER."
(evil-define-operator evil-collection-vterm-delete-char (beg end type register)
"Delete current character."
:motion evil-delete-char
:motion evil-forward-char
(interactive "<R><x>")
(evil-collection-vterm-delete beg end type register))