in vim insert mode:
module:function|
^
cursor at here
I wanna press combined key (e.g. C-z) to delete the function.
module:|
^
cursor at here
The key point is that: can not exit the insert mode
how to do that?
directly input: <C-o>db
<C-o>will execute a normal command,then back to insert.
You may add a map to execute directly:
ino <C-z> <C-o>db
By the way, there is a built-in key:<C-w>, which backwards delete word.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With