In my case the move-right button is ;
I want Ctrl; to move the cursor 7 characters to the right.
I’ve tried the below .vimrc mapping, but it doesn’t work:
nmap <c-;> 7;
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.
Like previous comment says, it seems that “;” cannot be in the form
<C-;>.You can test typing Ctrl+V + key sequence.
Ctrl+V + ; gives only
;whereas Ctrl+V + L give^L.So I suppose that vim cannot recognize
<C-;>.You have some more information on the key codes help pages: