1 Star 0 Fork 0

Michael/weasel

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
default.custom.yaml 3.23 KB
一键复制 编辑 原始数据 按行查看 历史
Michael 提交于 2022-07-20 16:07 . weasel 配置快捷键 F2 => F4
patch:
schema_list:
# - schema: lufs_flypy # 小鹤双拼
# - schema: lufs_pinyin # 朙月拼音
- schema: luna_pinyin_simp # 明月拼音
switcher/caption: "[方案菜单]"
switcher/hotkeys:
- F4
switcher/save_options:
- full_shape
- ascii_punct
menu/page_size: 5 # 候选项数
ascii_composer/good_old_caps_lock: false
ascii_composer/switch_key:
Shift_L: noop
Shift_R: commit_code # macOS 上此项无效,Windows 可用右 Shift 切换中英输入
Control_L: noop
Control_R: noop # macOS 上此项无效,Windows 上可自行定义
Caps_Lock: commit_code
Eisu_toggle: clear
key_binder/select_first_character: 'bracketleft' # lua 选词快捷键,选第一个字
key_binder/select_last_character: 'bracketright' # lua 选词快捷键,选最后一个字
key_binder/bindings: # 设置哪些键可以翻页,需要哪个取消注释即可
- { accept: "Control+k", send: "Shift+Delete", when: composing }
- { accept: Tab, send: Page_Down, when: composing } # Tab 向下翻页
- { accept: Shift+Tab, send: Page_Up, when: composing } # Shift + Tab 向上翻页
- { accept: semicolon, when: has_menu, send: 2 } # 输入时「;」二选
- { accept: apostrophe, when: has_menu, send: 3 } # 输入时「'」三选
- { accept: equal, send: Page_Down, when: composing }
- { accept: minus, send: Page_Up, when: composing }
# 失效设置,可通过关闭/更改 lua 选词快捷键恢复
- { accept: bracketleft, send: Page_Up, when: composing } # 左括号向上翻页
- { accept: bracketright, send: Page_Down, when: composing } # 右括号向下翻页
# 其它,有需要可自行开启
# - { accept: "Control+Shift+1", select: .next, when: always}
# - { accept: "Control+Shift+2", toggle: ascii_mode, when: always}
# - { accept: "Control+Shift+3", toggle: full_shape, when: always}
# - { accept: "Control+Shift+5", toggle: extended_charset, when: always}
# - { accept: "Control+Shift+at", toggle: ascii_mode, when: always}
# - { accept: "Control+Shift+dollar", toggle: simplification, when: always}
# - { accept: "Control+Shift+exclam", select: .next, when: always}
# - { accept: "Control+Shift+numbersign", toggle: full_shape, when: always}
# - { accept: "Control+Shift+percent", toggle: extended_charset, when: always}
# - { accept: "Control+a", send: Home, when: composing}
# - { accept: "Control+b", send: Left, when: composing}
# - { accept: "Control+bracketleft", send: Escape, when: composing}
# - { accept: "Control+d", send: Delete, when: composing }
# - { accept: "Control+e", send: End, when: composing}
# - { accept: "Control+f", send: Right, when: composing}
# - { accept: "Control+g", send: Escape, when: composing}
# - { accept: "Control+h", send: BackSpace, when: composing}
# - { accept: "Control+n", send: Down, when: composing}
# - { accept: "Control+p", send: Up, when: composing}
# - { accept: "Control+period", toggle: ascii_punct, when: always}
# - { accept: "Shift+space", toggle: full_shape, when: always } # Shift + 空格 切换全角/半角
# - { accept: comma, send: Page_Up, when: paging} # 逗号向上翻页
# - { accept: period, send: Page_Down, when: has_menu}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
YAML
1
https://gitee.com/qiaogaojian/weasel.git
git@gitee.com:qiaogaojian/weasel.git
qiaogaojian
weasel
weasel
master

搜索帮助