I want to delete everything from the point of the cursor to the front of line with Command + Delete on insert mode. So I wrote the following on ~/.vimrc
.
inoremap <D-Bs> <C-u>
But this inserts a tab at the front of the line, not delete.
I'm not even sure why, but how can I delete everything to the front of the line?
Here is the result of :imap <d-bs>
.
And typing Control + U deletes to the front of the line on insert mode. Just the key remapping with <D-Bs>
doesn't...
I'm still not sure why this happens, but launching vim without ~/.vimrc
($vim -u NONE
) still has this issue.
Adding set backspace=indent,eol,start
doesn't work, either.