I saw the vim wiki tips and it says that in order to remap Esc to CAPS LOCK you have to edit the following windows code:
REGEDIT4
[HKEY_CURRENT_USER\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,01,00,3a,00,00,00,00,00
Is it possible to remap Esc to CAPS LOCK by only adding or modifying lines in the _vimrc?
uncap.exe
from the project page and double-clicking it. No installation, configuration or reboot is required. Thus it is easy to use it on a machine other than my own too. The mapping can be turned off easily by killing this program with theuncap -k
command. Additionally, this project comes with detailed documentation on other ways of mapping keys on Windows, Linux and Mac OS/X. – Handknit