How do I map my Windows key (which is defined as the Meta_L key in Ubuntu) so that it also works as the Ctrl+L key in Vim? This is a more comfortable mapping for me in some circumstances.
Share
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.
Looks like Ctrl and Alt are hard-coded into in the Vim source. You can map your Windows key to Ctrl globally if you don’t mind affecting all other programs too. Some window managers will support doing this, or else you can use xmodmap. The Vim wiki has some info about mapping the Windows key to another Esc , which is similar.