在Mac OS X中按选项键时如何禁用键入特殊字符? [英] How to disable typing special characters when pressing option key in Mac OS X?

查看:128
本文介绍了在Mac OS X中按选项键时如何禁用键入特殊字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,当我按Option-b时,我将得到∫.我不需要键入特殊字符,也不需要将option-b映射到某些应用程序的快捷方式.有什么办法吗?

Now when I press option-b, I will get ∫. I don't need to type special characters and need to map option-b to shortcuts to certains applications. Is there any way to do this?

推荐答案

在完全相同的IDE中,我遇到了完全相同的问题.

I was having the exact same problem, in the exact same IDE.

解决方案是从此处下载Ukulele:

The solution to this is to download Ukulele from here:

http://scripts.sil.org/cms/scripts/page.php?site_id = nrsi& id = ukelele

在应用程序中,您可以使用File-> New from current source创建新的键盘布局.按下 Option 将在Option-b的位置显示一个红色的键-表示它是死键.双击它可以将其从死键更改为输出键.当提示您输入输出时,您可以放入相同的内容(通过按Option-b键).

In the application you can create a new keylayout using File -> New from current source. Pressing Option will show you in the place for Option-b a red colored key - meaning it's a dead key. Double clicking it will allow you to change it from a dead key to an output key. When prompted for the output you can put in the same thing (by pressing Option-b).

因此它将输出相同的字符,但不会被视为死键,因此Intellij可以将其绑定为快捷方式.

Thus it will output the same character but will not be considered a dead key, so Intellij can bind it as a shortcut.

要启用新的布局,必须将其保存到您的〜/Library/Keyboard Layouts 中(如果使用键盘->设置键盘名称"给它起了新的名称,则将很有帮助),然后启用它从系统偏好设置->语言和文字.

To enable your new layout you must save it into your ~/Library/Keyboard Layouts (it helps if you give it a new name with Keyboard -> Set Keyboard Name), and then enable it from System Preferences -> Language & Text.

这篇关于在Mac OS X中按选项键时如何禁用键入特殊字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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