mirror of
https://github.com/iDvel/rime-ice.git
synced 2026-02-02 00:07:34 +00:00
feat: 定制组合键配置示例 (#1131)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
schema:
|
||||
schema_id: rime_ice
|
||||
name: 雾凇拼音
|
||||
version: "2025-02-24"
|
||||
version: "2025-03-30"
|
||||
author:
|
||||
- Dvel
|
||||
description: |
|
||||
@@ -403,6 +403,20 @@ key_binder:
|
||||
# bindings: # 也可以再增加方案专有的快捷键
|
||||
|
||||
|
||||
# editor 用来定制操作键的行为,以下是默认行为 https://github.com/rime/librime/blob/master/src/rime/gear/editor.cc
|
||||
editor:
|
||||
bindings:
|
||||
space: confirm # 空格键:上屏候选项
|
||||
Return: commit_raw_input # 回车键:上屏原始输入
|
||||
Control+Return: commit_script_text # Ctrl+回车键:上屏变换后输入(经过 preedit_format 转换的)
|
||||
Control+Shift+Return: commit_comment # Ctrl+Shift+回车键:上屏 comment
|
||||
BackSpace: revert # 退格键:向前删除(撤消上次输入)
|
||||
Delete: delete # Delete 键:向后删除
|
||||
Control+BackSpace: back_syllable # Ctrl+退格键:删除一个音节
|
||||
Control+Delete: delete_candidate # Ctrl+Delete键:删除或降权候选项
|
||||
Escape: cancel # Esc 键:取消输入
|
||||
|
||||
|
||||
# 拼写设定
|
||||
speller:
|
||||
# 如果不想让什么标点直接上屏,可以加在 alphabet,或者编辑标点符号为两个及以上的映射
|
||||
|
||||
Reference in New Issue
Block a user