I’ve tried
:inoremap ^b <Del>
:inoremap ^b Del
:imap ^b <Del>
:imap ^b Del
And they all seem to insert a ^B character.
I’m using gVim7 with Windows 7×64
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your format for the control character is not what vim expects. You want to use
<C-x>for control characters in mappings.As your current mapping stands vim is mapping ^ followed by Shift+b to Del.