From 106b770b0b51e9532fb1163ece1070503eaadb75 Mon Sep 17 00:00:00 2001 From: Dvel Date: Wed, 1 Mar 2023 19:30:21 +0800 Subject: [PATCH] docs --- default.yaml | 18 ++++++++++-------- squirrel.yaml | 20 +++++++++++++++++--- 2 files changed, 27 insertions(+), 11 deletions(-) diff --git a/default.yaml b/default.yaml index 64ebc7c..09b88c4 100644 --- a/default.yaml +++ b/default.yaml @@ -15,9 +15,11 @@ schema_list: - schema: double_pinyin_flypy -# 候选词个数 +# 菜单 menu: - page_size: 5 + # alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ] # 修改候选项标签 + # alternative_select_keys: ASDFGHJKL # 如编码字符占用数字键,则需另设选字键 + page_size: 5 # 候选词个数 # 方案选单相关 @@ -71,7 +73,7 @@ key_binder: # 以词定字(上屏当前词句的第一个或最后一个字) select_first_character: select_last_character: "grave" - + bindings: # Tab/Shift+Tab 切换光标至下/上一个拼音 - { when: composing, accept: Shift+Tab, send: Shift+Left } @@ -94,11 +96,11 @@ key_binder: # - { when: has_menu, accept: bracketright, send: Page_Down } # numbered_mode_switch: - # - { when: always, accept: Control+Shift+1, select: .next } # 在最近的两个方案之间切换 - # - { when: always, accept: Control+Shift+2, toggle: ascii_mode } # 切换中英 - - { when: always, accept: Control+Shift+3, toggle: ascii_punct } # 切换中英标点 - - {when: always, accept: "Control+Shift+4", toggle: traditionalization} # 切换简繁 - # - { when: always, accept: Control+Shift+5, toggle: full_shape } # 切换全半角 + # - { when: always, accept: Control+Shift+1, select: .next } # 在最近的两个方案之间切换 + # - { when: always, accept: Control+Shift+2, toggle: ascii_mode } # 切换中英 + - { when: always, accept: Control+Shift+3, toggle: ascii_punct } # 切换中英标点 + - { when: always, accept: "Control+Shift+4", toggle: traditionalization } # 切换简繁 + # - { when: always, accept: Control+Shift+5, toggle: full_shape } # 切换全半角 # emacs_editing: # - { when: composing, accept: Control+p, send: Up } diff --git a/squirrel.yaml b/squirrel.yaml index 694a1e9..0bbf924 100755 --- a/squirrel.yaml +++ b/squirrel.yaml @@ -9,7 +9,22 @@ config_version: '2023-02-27' -# 默认中、英、inline、no_inline 等等设定,参考 https://github.com/rime/squirrel/blob/master/data/squirrel.yaml +# options: last | default | _custom_ +# last: the last used latin keyboard layout +# default: US (ABC) keyboard layout +# _custom_: keyboard layout of your choice, e.g. 'com.apple.keylayout.USExtended' or simply 'USExtended' +keyboard_layout: default + + +# for veteran chord-typist +chord_duration: 0.1 # seconds + + +# options: always | never | appropriate +show_notifications_when: appropriate + + +# ascii_mode、inline、no_inline、vim_mode 等等设定,可参考 /Library/Input Methods/Squirrel.app/Contents/SharedSupport/squirrel.yaml app_options: # com.apple.Spotlight: # ascii_mode: true # 开启默认英文 @@ -22,8 +37,7 @@ style: color_scheme: purity_of_form_custom color_scheme_dark: purity_of_form_custom - # 预设选项: - # 可被皮肤覆盖;如果皮肤没写,则默认使用这些属性。 + # 预设选项:(可被皮肤覆盖;如果皮肤没写,则默认使用这些属性。) text_orientation: horizontal # horizontal | vertical inline_preedit: true corner_radius: 10