Map a caps lock key that is mapped to ctrl system wide to Escape just in vim -


I map the map of my caps lock to ctrl with the command given below Linux:
Setxkbmap -option ctrl: Nocaps I really like this mapping and want to keep it, but I want to map the caps lock key to avoid being in the app. But when I call it : map & lt; C & gt; & Lt; Esc & gt; or does not seem to work like this, possibly because the ctrl key is special and another key is needed to trigger an important event

Is there any way that I get the above Can i do

No controls on hardware, OS levels, changes and Alt key are handled differently - They do not generate the encoding, but add the modifier to the keycode generated by the other key, that means they can not be mapped within the vim.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -