[update] 更新了Rime的快捷键

This commit is contained in:
Dubi906w 2024-08-06 10:42:21 +08:00
parent 51804b0db9
commit fb4ce88826
4 changed files with 35 additions and 33 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ installation.yaml
weasel.custom.yaml
default.custom.yaml
user.yaml
rime_ice.userdb.old

View File

@ -22,8 +22,8 @@ schema_list:
# 菜单
menu:
page_size: 5 # 候选词个数
# alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ] # 修改候选项标签
page_size: 8 # 候选词个数
alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ] # 修改候选项标签
# alternative_select_keys: ASDFGHJKL # 如编码字符占用数字键,则需另设选字键
@ -32,8 +32,8 @@ switcher:
caption: 「方案选单」
hotkeys:
- F4
- Control+grave
- Control+Shift+grave
# - Control+grave
# - Control+Shift+grave
# - Alt+grave
save_options: # 开关记忆(方案中的 switches从方案选单而非快捷键切换时会记住的选项需要记忆的开关不能设定 reset
- ascii_punct
@ -41,8 +41,8 @@ switcher:
- emoji
- full_shape
- search_single_char
fold_options: true # 呼出时是否折叠,多方案时建议折叠 true ,一个方案建议展开 false
abbreviate_options: true # 折叠时是否缩写选项
fold_options: false # 呼出时是否折叠,多方案时建议折叠 true ,一个方案建议展开 false
abbreviate_options: false # 折叠时是否缩写选项
option_list_separator: ' / ' # 折叠时的选项分隔符
@ -63,11 +63,11 @@ switcher:
ascii_composer:
good_old_caps_lock: true # true | false
switch_key:
Caps_Lock: clear # commit_code | commit_text | clear
Shift_L: commit_code # commit_code | commit_text | inline_ascii | clear | noop
Shift_R: noop # commit_code | commit_text | inline_ascii | clear | noop
Control_L: noop # commit_code | commit_text | inline_ascii | clear | noop
Control_R: noop # commit_code | commit_text | inline_ascii | clear | noop
Caps_Lock: clear # commit_code | commit_text | clear
Shift_L: noop # commit_code | commit_text | inline_ascii | clear | noop
Shift_R: noop # commit_code | commit_text | inline_ascii | clear | noop
Control_L: commit_code # commit_code | commit_text | inline_ascii | clear | noop
Control_R: noop # commit_code | commit_text | inline_ascii | clear | noop
###################################################################################
@ -188,8 +188,8 @@ key_binder:
- { when: has_menu, accept: equal, send: Page_Down }
# 翻页 , .
# - { when: paging, accept: comma, send: Page_Up }
# - { when: has_menu, accept: period, send: Page_Down }
- { when: paging, accept: comma, send: Page_Up }
- { when: has_menu, accept: period, send: Page_Down }
# 翻页 [ ]
# - { when: paging, accept: bracketleft, send: Page_Up }
@ -201,6 +201,7 @@ key_binder:
# - { when: always, select: .next, accept: Control+Shift+exclam } # 在最近的两个方案之间切换
# - { when: always, toggle: ascii_mode, accept: Control+Shift+2 } # 切换中英
# - { when: always, toggle: ascii_mode, accept: Control+Shift+at } # 切换中英
- { when: always, toggle: ascii_mode, accept: Caps_Lock+Shift } # 切换中英
- { when: always, toggle: ascii_punct, accept: Control+Shift+3 } # 切换中英标点
- { when: always, toggle: ascii_punct, accept: Control+Shift+numbersign } # 切换中英标点
- { when: always, toggle: traditionalization, accept: Control+Shift+4 } # 切换简繁

View File

@ -23,18 +23,18 @@ schema:
# abbrev: 默认的缩写取 states 的第一个字符abbrev 可自定义一个字符
switches:
- name: ascii_mode
states: [ , ]
states: [ 文, 洋文 ]
- name: ascii_punct # 中英标点
states: [ ¥, $ ]
states: [ 金币, 美币 ]
- name: traditionalization
states: [ , 繁 ]
states: [ 体, 正体 ]
- name: emoji
states: [ 💀, 😄 ]
states: [ 冷漠, 抽象 ]
reset: 1
- name: full_shape
states: [ 半角, 全角 ]
- name: search_single_char # search.lua 的功能开关,辅码查词时是否单字优先
abbrev: [, 单]
abbrev: [, 单]
states: [正常, 单字]

View File

@ -42,8 +42,8 @@ global_ascii: false # 切换为 ascii 模式时,是否
# [style]
# 字体;候选项、候选窗口的行为、布局及样式
style:
color_scheme: google # 默认配色方案
color_scheme_dark: nord # 深色模式下Weasel 的配色方案Windows 10 1809+ 可用
color_scheme: metroblue # 默认配色方案
color_scheme_dark: metroblue # 深色模式下Weasel 的配色方案Windows 10 1809+ 可用
# 全局字体
# 格式字体1:起始码位:结束码位:字重:字形,字体2……字体会依次 fallback
@ -51,15 +51,15 @@ style:
font_face: "Segoe UI Emoji, Microsoft YaHei, SF Pro, Noto Color Emoji"
label_font_face: "Microsoft YaHei" # 标签字体
comment_font_face: "Microsoft YaHei" # 注释字体
font_point: 14 # 全局字体字号
label_font_point: 14 # 标签字体字号,不设定 fallback 到 font_point
comment_font_point: 13 # 注释字体字号,不设定 fallback 到 font_point
font_point: 16 # 全局字体字号
label_font_point: 16 # 标签字体字号,不设定 fallback 到 font_point
comment_font_point: 12 # 注释字体字号,不设定 fallback 到 font_point
inline_preedit: true # 行内显示预编辑区truefalse
preedit_type: composition # 预编辑区内容composition编码 preview选中的候选preview_all全部候选
fullscreen: false # 候选窗口全屏显示truefalse
horizontal: false # 候选项横排truefalse
horizontal: false # 候选项横排truefalse
vertical_text: false # 竖排文本truefalse
# text_orientation: horizontal # 文本排列方向,效果和 `vertical_text` 相同horizontalvertical
vertical_text_left_to_right: false # 竖排方向是否从左到右truefalse
@ -76,22 +76,22 @@ style:
mouse_hover_ms: 0 # ! 已弃用。鼠标悬停选词响应时间ms设置为 0 时禁用该功能
hover_type: none # 鼠标在候选窗口悬停时none无动作hilite选中鼠标下的候选semi_hilite高亮鼠标下的候选
paging_on_scroll: true # 在候选窗口上滑动滚轮的行为true翻页false (选中下一个候选)
paging_on_scroll: false # 在候选窗口上滑动滚轮的行为true翻页false (选中下一个候选)
click_to_capture: false # 鼠标点击候选项创建截图truefalse
layout:
baseline: 0 # 字号百分比,与 linespacing 一同设置可解决字体跳动问题,设置为 0 为禁用
linespacing: 0 # 字号百分比,参考 <https://github.com/rime/weasel/pull/1177>
align_type: center # 标签、候选文字、注解文字之间的相对对齐方式top ; center ; bottom
max_height: 600 # 候选框最大高度,文本竖排模式下如高度超此尺寸则换列显示候选,设置为 0 不启用此功能
max_height: 0 # 候选框最大高度,文本竖排模式下如高度超此尺寸则换列显示候选,设置为 0 不启用此功能
max_width: 0 # 候选框最大宽度horizontal 布局如宽超此尺寸则换行显示候选,设置为 0 不启用此功能
min_height: 0 # 候选框最小高度
min_width: 10 # 候选框最小宽度
border_width: 2 # 边框宽度;又名 border
margin_x: 8 # 主体元素和候选框的左右边距;为负值时,不显示候选框
margin_y: 8 # 主体元素的上下边距;为负值时,不显示候选框
spacing: 13 # inline_preedit 为否时,编码区域和候选区域的间距
candidate_spacing: 22 # 候选项之间的间距
margin_x: 4 # 主体元素和候选框的左右边距;为负值时,不显示候选框
margin_y: 2 # 主体元素的上下边距;为负值时,不显示候选框
spacing: 4 # inline_preedit 为否时,编码区域和候选区域的间距
candidate_spacing: 12 # 候选项之间的间距
hilite_spacing: 6 # 候选项和相应标签的间距
hilite_padding: 8 # 高亮区域和内部文字的间距,影响高亮区域大小
# hilite_padding_x: 8 # 高亮区域和内部文字的左右间距,如无特殊指定则依 hilite_padding 设置
@ -99,8 +99,8 @@ style:
shadow_radius: 0 # 阴影区域半径,为 0 不显示阴影;需要同时在配色方案中指定非透明的阴影颜色
shadow_offset_x: 4 # 阴影左右偏移距离
shadow_offset_y: 4 # 阴影上下偏移距离
corner_radius: 8 # 候选窗口圆角半径
round_corner: 8 # 候选背景色块圆角半径,又名 hilited_corner_radius
corner_radius: 4 # 候选窗口圆角半径
round_corner: 4 # 候选背景色块圆角半径,又名 hilited_corner_radius
# type: vertical # 布局设置,效果和 style 下的设置相同:
# horizontal横向vertical竖向 ; vertical_text竖排文本 ; vertical+fullscreen全屏 ; horizontal+fullscreen横向全屏
# [End of <style>]