I like to emulate the normal behavior of C-Del / C-Backspace on Windows in VIM. I am currently using:
imap <C-Del> <C-o>dw
imap <C-Backspace> <C-o>db
It is close, but not perfect. For example. when trying to remove this from the end of the line
foo(1, 2)
with C-Backspace, this happens:
foo(1, )
How can i solve this?
Herrhongo
source
share