Can I use capslock for changing languages in VIM instead of Ctrl + 6 in case of "keymap=russian-jcukenwin"?
How can I do it?
Maybe something like mapping it in the $VIMRC
file? How can I map capslock, is it possible?
keyboard shortcutsvim
Can I use capslock for changing languages in VIM instead of Ctrl + 6 in case of "keymap=russian-jcukenwin"?
How can I do it?
Maybe something like mapping it in the $VIMRC
file? How can I map capslock, is it possible?
Best Answer
If you are using X, you can remap the capslock key with Xmodmap. Add this to a file to be sourced by
xmodmap(1)
:You may replace
F2
with another key. Now you may add a mapping to your$VIMRC
file. For example,