Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 定制组合键 #1131

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions rime_ice.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,20 @@ key_binder:
# bindings: # 也可以再增加方案专有的快捷键


# editor 配置示例,editor 用来定制操作键的行为,键名参考 default.yaml 的按键速查
editor:
bindings:
space: confirm # 空格键:上屏候选项
BackSpace: revert # 退格键:撤消上次输入
Control+BackSpace: back_syllable # Ctrl+退格键:按音节回退
Return: commit_raw_input # 回车键:上屏原始输入
Control+Return: commit_script_text # Ctrl+回车键:上屏变换后输入
Control+Shift+Return: commit_comment # Ctrl+Shift+回车键:上屏选项备注
Delete: delete # Delete 键:向后删除
Control+Delete: delete_candidate # Ctrl+Delete键:删除候选项
Escape: cancel # Esc 键:取消输入


# 拼写设定
speller:
# 如果不想让什么标点直接上屏,可以加在 alphabet,或者编辑标点符号为两个及以上的映射
Expand Down