Skip to content

Commit 3bfac2c

Browse files
authored
feat: ascii_composer set/unset_ascii_mode (#1472)
1 parent 739a87a commit 3bfac2c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

default.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,18 @@ switcher:
6565
# clear 清除未上屏内容,然后切换到英文
6666
# inline_ascii 切换到临时英文模式,按回车上屏后回到中文状态
6767
# noop 屏蔽快捷键,不切换中英,但不要屏蔽 CapsLock
68+
#
69+
# 使用Shift, Control, Alt, Super等修饰键切换中英。# librime >= 1.14.0
70+
# set_ascii_mode 切换到英文模式
71+
# unset_ascii_mode 切换到中文模式
6872
ascii_composer:
6973
good_old_caps_lock: true # true | false
7074
switch_key:
7175
Caps_Lock: clear # commit_code | commit_text | clear
72-
Shift_L: commit_code # commit_code | commit_text | inline_ascii | clear | noop
73-
Shift_R: noop # commit_code | commit_text | inline_ascii | clear | noop
74-
Control_L: noop # commit_code | commit_text | inline_ascii | clear | noop
75-
Control_R: noop # commit_code | commit_text | inline_ascii | clear | noop
76+
Shift_L: commit_code # commit_code | commit_text | inline_ascii | clear | noop | set_ascii_mode | unset_ascii_mode
77+
Shift_R: noop # commit_code | commit_text | inline_ascii | clear | noop | set_ascii_mode | unset_ascii_mode
78+
Control_L: noop # commit_code | commit_text | inline_ascii | clear | noop | set_ascii_mode | unset_ascii_mode
79+
Control_R: noop # commit_code | commit_text | inline_ascii | clear | noop | set_ascii_mode | unset_ascii_mode
7680

7781

7882
###################################################################################

0 commit comments

Comments
 (0)