rime-鼠须管输入法常用配置
从图标的用户设定可以定位到具体目录
~/Library/Rime/xxx
全局配置文件
- default.yaml
- default.custom.yaml (一般自己创建,优先级高于默认文件)
控制切换中英文切换
inline_ascii
:在输入法的临时西文编辑区内输入字母、数字、符号、空格等,回车上屏后自动复位到中文。commit_text
:已输入的候选文字上屏并切换至西文输入模式。commit_code
:已输入的编码字符上屏并切换至西文输入模式。noop
:屏蔽该切换键。1
2
3
4
5
6
7
8
9ascii_composer:
good_old_caps_lock: true
switch_key:
Caps_Lock: commit_code
Control_L: noop
Control_R: noop
Eisu_toggle: clear
Shift_L: commit_code
Shift_R: commit_code
配置特定的环境
- squirrel.yaml
- squirrel.yaml (和上面类似,优先级高于默认文件)
对某些app关闭默认中文(对应的app名字从该app的Info.plist中查找)
/Applications/PyCharm.app/Contents/Info.plist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19app_options:
com.alfredapp.Alfred:
ascii_mode: true
com.apple.Terminal:
ascii_mode: true
no_inline: true
com.blacktree.Quicksilver:
ascii_mode: true
com.googlecode.iterm2:
ascii_mode: true
com.jetbrains.pycharm:
ascii_mode: true
com.sublimetext.3:
ascii_mode: true
"com.runningwithcrayons.Alfred-2":
ascii_mode: true
org.vim.MacVim:
ascii_mode: true
no_inline: true