软件综合症晚期的我,已经不期望能够康复了~
清歌五笔输入法在保证功能齐全的前提下已经相当稳定了,但是我还是想折腾一下「神级输入」:鼠须管。
过去我一听说它的名字就不想去使用了,但是网上叫好的呼声一片,我禁不住蛊惑花了几个小时折腾了一把,得到「果然是神级输入法」的结论。
先说我达到的效果:

我配置的是“五笔拼音”的方案,开始了调频和自动用户词库。在设置文件夹下主要修改了三个文件wubi_pinyin.custom.yamldefault.custom.yamlsquirrel.custom.yaml。第一个文件主要修改了更改方案时显示的选项,我只保留了一个全角和半角的转换。

1
2
3
4
5
6
7
8
9
10
11
# Rime schema settings
# encoding: utf-8
patch:
switches:
# - name: ascii_mode
# reset: 0
# states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
# - name: ascii_punct
# states: [ 。,, ., ]

第二个文件是设置采用方案和快捷键,大部分采用默认设置,只是将几个冲突的按键做了修改:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
patch:
ascii_composer:
good_old_caps_lock: true
switch_key:
Caps_Lock: clear
Control_L: noop
Control_R: noop
Eisu_toggle: clear
Shift_L: inline_ascii
Shift_R: commit_text
key_binder:
bindings:
- send: Up
accept: Control+p
when: composing
- send: Down
accept: Control+n
when: composing
- send: Left
accept: Control+b
when: composing
- send: Right
accept: Control+f
when: composing
- send: Home
accept: Control+a
when: composing
- send: End
accept: Control+e
when: composing
- send: Delete
accept: Control+d
when: composing
- send: Shift+Delete
accept: Control+k
when: composing
- send: BackSpace
accept: Control+h
when: composing
- send: Escape
accept: Control+g
when: composing
- send: Escape
accept: Control+bracketleft
when: composing
- send: Page_Up
accept: Alt+v
when: composing
- send: Page_Down
accept: Control+v
when: composing
- send: Page_Up
accept: ISO_Left_Tab
when: composing
- send: Page_Up
accept: Shift+Tab
when: composing
- send: Page_Down
accept: Tab
when: composing
- send: Page_Up
accept: minus
when: has_menu
- send: Page_Down
accept: equal
when: has_menu
- send: Page_Up
accept: comma
when: paging
- send: Page_Down
accept: period
when: has_menu
- when: always
accept: Control+Shift+1
select: .next
- toggle: ascii_mode
accept: Control+Shift+2
when: always
- toggle: full_shape
accept: Control+Shift+3
when: always
- toggle: simplification
accept: Control+Shift+4
when: always
- toggle: extended_charset
accept: Control+Shift+5
when: always
- when: always
accept: Control+Shift+exclam
select: .next
- toggle: ascii_mode
accept: Control+Shift+at
when: always
- toggle: full_shape
accept: Control+Shift+numbersign
when: always
- toggle: simplification
accept: Control+Shift+dollar
when: always
- toggle: extended_charset
accept: Control+Shift+percent
when: always
- toggle: ascii_punct
accept: Control+period
when: always
switcher:
caption: 切换方案
hotkeys:
- Control+grave
- Control+s
schema_list:
- schema: wubi_pinyin
- schema: emoji

第三个文件设置外观和静默程序列表

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
patch:
show_notifications_when: never
style:
font_point: 24
line_spacing: 1
color_scheme: dark_temple
font_face: TimesNewRomanPSMT
inline_preedit: true
border_width: 5
border_height: 5
app_options:
com.apple.finder:
ascii_mode: true
com.googlecode.iterm2:
ascii_mode: true
com.apple.Terminal:
ascii_mode: true
com.apple.Spotlight:
ascii_mode: true
com.google.Chrome:
ascii_mode: true
com.sublimetext.3:
ascii_mode: true
edu.ucsd.cs.mmccrack.bibdesk:
ascii_mode: true
com.apple.Dictionary:
ascii_mode: true
com.apple.Safari:
ascii_mode: true
us_keyboard_layout: true

其中获取OSX下的程序Identifier可使用命令行 $ osascript -e 'id of app "Finder"' 查询。