How to remap caps esc to caps lock key in Lubuntu?

1.4k Views Asked by At

I started using vim and I would like to remap some keys. Does anybody know whats the easiest way to do this in Lubuntu.

Thanks

1

There are 1 best solutions below

0
On BEST ANSWER

The Caps Lock key cannot be mapped inside Vim, as it doesn't produce a keycode on its own. You can reassign / swap a different key (like Esc) on the operating system level, as outlines in Map caps lock to escape in XWindows.