简体   繁体   English

如何将Esc重新映射到Janus(VIM)中的Caps Lock

[英]How to remap Esc to Caps Lock in Janus (VIM)

How do I remap the esc (escape) key on my Mac (Mountain Lion) for Janus (VIM). 如何在Mac(山狮)上为Janus(VIM)重新映射esc (转义)键。

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. 无法在Vim本身(或Janus)中将Caps-lock重映射到Esc,因为Vim仍然无法识别Caps-lock键。

You'll need a third party tool for that: 为此,您需要使用第三方工具:

Maybe there are others. 也许还有其他。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM