Skip to content

Commit

Permalink
config: 增加 Option/Alt + ←/→ 切换光标至下/上一个拼音
Browse files Browse the repository at this point in the history
和 macOS 自带输入法一致
  • Loading branch information
iDvel committed Apr 13, 2023
1 parent f1c6b9a commit 613b3de
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,17 @@ key_binder:
select_last_character: "grave"

bindings:
# Tab/Shift+Tab 切换光标至下/上一个拼音
# Tab / Shift+Tab 切换光标至下/上一个拼音
- { when: composing, accept: Shift+Tab, send: Shift+Left }
- { when: composing, accept: Tab, send: Shift+Right }
# Tab/Shift+Tab 翻页
# 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: has_menu, accept: minus, send: Page_Up }
- { when: has_menu, accept: equal, send: Page_Down }
Expand All @@ -192,7 +196,7 @@ key_binder:
# - { when: always, accept: Control+Shift+1, select: .next } # 在最近的两个方案之间切换
# - { when: always, accept: Control+Shift+2, toggle: ascii_mode } # 切换中英
- { when: always, accept: Control+Shift+3, toggle: ascii_punct } # 切换中英标点
- { when: always, accept: "Control+Shift+4", toggle: traditionalization } # 切换简繁
- { when: always, accept: Control+Shift+4, toggle: traditionalization } # 切换简繁
# - { when: always, accept: Control+Shift+5, toggle: full_shape } # 切换全半角

# emacs_editing:
Expand Down

0 comments on commit 613b3de

Please sign in to comment.