我现在的情况是通过 mac 的输入法切换快捷键来切换英文输入法和 rime 。然后 rime 只用来输入中文。
有没有一种可能 mac 下只保留一种 rime 输入法,并且仍然用Command + Space来切换中英文。我试过下面的配置没有成功
key_binder/bindings:
# Tab / Shift+Tab 切换光标至下 /上一个拼音
- { when: composing, accept: Shift+Tab, send: Shift+Left }
- { when: composing, accept: Tab, send: Shift+Right }
# Tab / Shift+Tab 翻页
# - { when: has_menu, accept: Shift+Tab, send: Page_Up }
# - { when: has_menu, accept: Tab, send: Page_Down }
# Option/Alt + ←/→ 切换光标至下 /上一个拼音
- { when: composing, accept: Alt+Left, send: Shift+Left }
- { when: composing, accept: Alt+Right, send: Shift+Right }
# 翻页 , .
- { when: paging, accept: comma, send: Page_Up }
- { when: has_menu, accept: period, send: Page_Down }
- { when: always, accept: Command+Space, toggle: ascii_mode } # 切换中英
- { when: always, accept: Control+Option+space, toggle: ascii_mode } # 切换中英
- { when: always, accept: Control+Shift+2, toggle: ascii_mode } # 切换中英
|