mac vim映射esc_如何通过重新映射大写锁定来获取Mac的Esc键

mac vim映射esc_如何通过重新映射大写锁定来获取Mac的Esc键

mac vim映射esc

mac vim映射esc_如何通过重新映射大写锁定来获取Mac的Esc键

The touch bar on Apple’s new MacBook Pro makes sense. The top row of keys have served specific functions on Macs for over a decade; why not let those specific functions change depending on which application you’re using?

苹果新款MacBook Pro上的触摸条很有意义。 上排按键已在Mac上提供特定功能超过十年; 为什么不让这些特定功能根据您使用的应用程序而改变?

But there’s one key that old-school UNIX users—particularly Emacs fans—are going to miss: Escape. The touch bar completely replaces this key, which is going to make a lot of Terminal-based applications nearly impossible to use. And while the touch bar can add an Esc key when necessary, programmers and others might prefer a physical key while typing.

但是,老式的UNIX用户(尤其是Emacs爱好者)会错过一个关键:Escape。 触摸栏完全取代了此键,这将使许多基于终端的应用程序几乎无法使用。 尽管触摸栏可以在必要时添加Esc键,但是程序员和其他人可能会在键入时更喜欢物理键。

Good news: the latest Sierra update lets you re-maps Caps Lock, a key most people never use, to Esc. We’ve shown you how to disable the caps lock key on a Mac, and the process is similar.

好消息:最新的Sierra更新使您可以将Caps Lock(大多数人从未使用过的钥匙)重新映射到Esc。 我们已经向您展示了如何在Mac上禁用大写锁定键 ,过程与此类似。

First, head to System Preferences, then to Keyboard.

首先,进入系统偏好设置,然后进入键盘。

mac vim映射esc_如何通过重新映射大写锁定来获取Mac的Esc键

At the bottom-right, you’ll see a button called “Modifier Keys.” Click it.

在右下角,您将看到一个名为“修改键”的按钮。 点击它。

mac vim映射esc_如何通过重新映射大写锁定来获取Mac的Esc键

From here you can replace what four keys do: Caps Lock, Control, Option, and Command.

从这里您可以替换四个键的功能:Caps Lock,Control,Option和Command。

mac vim映射esc_如何通过重新映射大写锁定来获取Mac的Esc键

Click the Caps Lock drop-down. As you can see, Escape is an option.

单击Caps Lock下拉菜单。 如您所见,Escape是一个选项。

mac vim映射esc_如何通过重新映射大写锁定来获取Mac的Esc键

Select it and your Caps Lock key will serve as an improvised Esc key. This will take a little getting used to, but it’s better than not having an alternative.

选择它,您的Caps Lock键将用作临时的Esc键。 这将需要一些时间来适应,但总比没有替代方法要好。

There’s one other downside: if you want to YELL AT PEOPLE, you’ll have to hold down the Shift key. Our official recommendation: only yell at people when it’s worth the effort of holding down the Shift key.

还有另一个缺点:如果您想对他人大吼大叫,则必须按住Shift键。 我们的官方建议:只有在按住Shift键时值得对别人大喊大叫。

翻译自: https://www.howtogeek.com/280148/how-to-get-your-macs-esc-key-back-by-remapping-caps-lock/

mac vim映射esc