Emacs在Mac OS X Leopard键绑定 [英] Emacs on Mac OS X Leopard key bindings

查看:113
本文介绍了Emacs在Mac OS X Leopard键绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Mac用户,我决定学习Emacs。我已经阅读,以减少手部紧张并提高准确性 CTRL CAPS LOCK 键应该被交换。如何在Leopard中执行此操作?

I'm a Mac user and I've decided to learn Emacs. I've read that to reduce hand strain and improve accuracy the CTRL and CAPS LOCK keys should be swapped. How do I do this in Leopard?

此外,在终端我必须使用 ESC 键来调用元。有没有办法获得alt / option键来调用meta?

Also, in Terminal I have to use the ESC key to invoke meta. Is there any way to get the alt/option key to invoke meta instead?

更新: ,元键也经常使用,它的位置在我的MacBook和苹果键盘也值得关注。事实上,我发现控制键实际上更容易打,所以我重新映射了我的控制键作为元键。有人有更好/更标准的解决方案吗?

update: While the control key is much easier to hit now, the meta key is also used often enough that its position on my MacBook and Apple Keyboard also deserves attention. In fact, I find that the control key is actually easier to hit, so I've remapped my control key to act as a meta key. Does anyone have a better/more standard solution?

推荐答案

交换CTRL和CAPS LOCK >

Swapping CTRL and CAPS LOCK


  1. 进入系统偏好设置

  2. 输入键盘&鼠标首选项窗格

  3. 键盘选项卡中,单击修改器键...

  4. 交换 Caps Lock 控件的操作。

  1. Go into System Preferences
  2. Enter the Keyboard & Mouse preference pane
  3. In the Keyboard tab, click Modifier Keys...
  4. Swap the actions for Caps Lock and Control.

使用ALT / OPTION作为META


  1. 在菜单栏中,单击终端

  2. 点击首选项...

  3. 设置标签下,转到键盘

  4. 选中标签为使用选项作为元键的框

  1. In the menu bar, click Terminal
  2. Click Preferences...
  3. Under the Settings tab, go to the Keyboard tab
  4. Check the box labeled Use option as meta key

就是这样!你应该是成为Emacs大师的方式!

这篇关于Emacs在Mac OS X Leopard键绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆