diff --git a/.gitignore b/.gitignore index 7b2883d..65aac87 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ build installation.yaml weasel.custom.yaml default.custom.yaml -user.yaml \ No newline at end of file +user.yaml +rime_ice.userdb.old \ No newline at end of file diff --git a/default.yaml b/default.yaml index f3d6f73..b1c8c13 100644 --- a/default.yaml +++ b/default.yaml @@ -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 } # 切换简繁 diff --git a/rime_ice.schema.yaml b/rime_ice.schema.yaml index 8fb0a2e..ae0d03a 100644 --- a/rime_ice.schema.yaml +++ b/rime_ice.schema.yaml @@ -23,18 +23,18 @@ schema: # abbrev: 默认的缩写取 states 的第一个字符,abbrev 可自定义一个字符 switches: - name: ascii_mode - states: [ 中, A ] + 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: [正常, 单字] diff --git a/weasel.yaml b/weasel.yaml index 8b49417..3e6631b 100644 --- a/weasel.yaml +++ b/weasel.yaml @@ -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 # 行内显示预编辑区:true;false preedit_type: composition # 预编辑区内容:composition(编码); preview(选中的候选);preview_all(全部候选) fullscreen: false # 候选窗口全屏显示:true;false - horizontal: false # 候选项横排:true;false + horizontal: false # 候选项横排:true;false vertical_text: false # 竖排文本:true;false # text_orientation: horizontal # 文本排列方向,效果和 `vertical_text` 相同:horizontal;vertical vertical_text_left_to_right: false # 竖排方向是否从左到右:true;false @@ -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 # 鼠标点击候选项,创建截图:true;false layout: baseline: 0 # 字号百分比,与 linespacing 一同设置可解决字体跳动问题,设置为 0 为禁用 linespacing: 0 # 字号百分比,参考 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