Suppose I wanted to map the command :!python % <ENTER> to pressing the keys Alt Gr and j together?
Suppose I wanted to map the command :!python % <ENTER> to pressing the keys
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.
AltGr is interpreted by your keyboard driver, so Vim isn’t aware of it in terms of a modifier key. However, there are two ways getting the key code for AltGr–j. In insert mode:
The result depends on your keyboard layout. If you just get
jthen you’re out of luck.