Remapping Caps-lock to Esc can't be done in Vim itself (or in Janus) because Vim is unable to recognize the Caps-lock key anyway.
You'll need a third party tool for that:
Maybe there are others.
题
How do I remap the esc
(escape) key on my Mac (Mountain Lion) for Janus (VIM).
What is the command?
And in what file do I insert this code?
解决方案
Remapping Caps-lock to Esc can't be done in Vim itself (or in Janus) because Vim is unable to recognize the Caps-lock key anyway.
You'll need a third party tool for that:
Maybe there are others.