From 788b2058d6c1cdf70c1c1a85880f9ce72eddec5f Mon Sep 17 00:00:00 2001 From: Dvel Date: Fri, 6 Feb 2026 21:55:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20navigator,selector=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- default.yaml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/default.yaml b/default.yaml index 191525c..6bf7c1c 100644 --- a/default.yaml +++ b/default.yaml @@ -3,7 +3,7 @@ # 要比共享目录的同名文件的 config_version 大才可以生效 -config_version: '2026-01-31' +config_version: '2026-02-06' # 方案列表 @@ -79,6 +79,33 @@ ascii_composer: Control_R: noop # commit_code | commit_text | inline_ascii | clear | noop | set_ascii_mode | unset_ascii_mode +# 处理输入栏内光标的移动 +# 需要 librime >= 1.16.0 才有 no_loop 等属性,才会自动在方案引用 default:/{navigator,selector} +# 在边界按音节移动,在音节内部按字符移动 rewind | forward +# 按字符移动(循环) left_by_char | right_by_char +# 按字符移动(不循环) left_by_char_no_loop | right_by_char_no_loop +# 按音节跳转(循环) left_by_syllable | right_by_syllable +# 按音节跳转(不循环) left_by_syllable_no_loop | right_by_syllable_no_loop +# 首尾跳转 home | end +navigator: + bindings: + Left: left_by_char_no_loop + Right: right_by_char_no_loop + Shift+Left: left_by_syllable + Shift+Right: right_by_syllable + # 其他键 KP_Left KP_Right Home KP_Home End KP_End + + +# 选字处理器,感觉这个没有自定义的必要 +# selector: +# bindings: +# Up: previous_candidate # 上一个 +# Down: next_candidate # 下一个 +# Prior: previous_page # 上一页 +# Next: next_page # 下一页 +# # 其他键 KP_Up KP_Down KP_Prior KP_Next Home KP_Home End KP_End + + ###################################################################################