gaboolic / rime-shuangpin-fuzhuma

墨奇音形,打造最强双拼辅助码rime输入方案,让天下双拼用户人人用得上辅助码。基于雾凇-白霜词库,支持小鹤双拼、自然码双拼、搜狗双拼、微软双拼等多种双拼,辅助码支持墨奇码(原创拆分开源支持4万字)、自然码部首辅、小鹤音形(鹤形辅)等,支持双拼和辅助码之间排列组合,支持整句/字词输入。不认识的字可以笔画、部件拆字、仓颉码反查。支持aw、aj模式输入英文、日文,支持双拼并击输入、emoji、快符、日期、大写数字、计算器等高级功能。雾凇鹤|雾凇自然|墨奇码|墨奇音形
https://moqiyinxing.chunqiujinjing.com/index
MIT License
443 stars 33 forks source link

FAQ【常见问题】 q羣10885687 #4

Open gaboolic opened 6 months ago

gaboolic commented 6 months ago

1 如何不显示形码的辅助码: flypy_flypy.schema.yaml中

translator:
  dictionary: flypy_flypy.extended
  enable_completion: false
  # 默认为不超过 2 个字的候选项显示输入码;将 2 改为 0 可关闭编码提示,
  # 改为 1 则是只显示单字的输入码,依此类推。
  spelling_hints: 2
gaboolic commented 6 months ago

2 开启用, .翻页 在default.yaml

key_binder:
  bindings:
    __patch:
      - key_bindings:/emacs_editing
      - key_bindings:/move_by_word_with_tab
      - key_bindings:/paging_with_minus_equal

      # 使用,和.来翻页
      # - key_bindings:/paging_with_comma_period

      - key_bindings:/numbered_mode_switch

去掉前面的# ,改为- key_bindings:/paging_with_comma_period

gaboolic commented 6 months ago

3 模糊音 这个功能类似飞键。

以不分平翘舌音为例: 在flypy_flypy.schema.yaml中,修改以下部分 speller: algebra:

模糊音 可选择性开启

- derive/^z([a-z])/v$1/
- derive/^c([a-z])/i$1/
- derive/^s([a-z])/u$1/
- derive/^v([a-z])/z$1/
- derive/^i([a-z])/c$1/
- derive/^u([a-z])/s$1/

添加韵母的话,和上面类似

比如添加in和ing的模糊音,如果in是b,ing是k的话,可以这样: derive/^([a-z])b/$1k/ 派生/^([a-z])b/$1k/ derive/^([a-z])k/$1b/

gaboolic commented 6 months ago

4 数字大写 照搬了https://github.com/iDvel/rime-ice 输入R开头即可

image
gaboolic commented 6 months ago

5 自定义配置 自定义配置建议放在 flypy_flypy.custom.yaml 文件

patch:
  #engine/translators/@last: '' ## 禁用英文单词输入功能
  #punctuator/half_shape: {} ## 恢复默认引号
  #menu/page_size: 5 ## 自定义候选项个数
gaboolic commented 6 months ago

6 启用光标回退至特定音节后、补充辅助码的功能 flypy_flypy.schema.yaml

key_binder:
import_preset: default
bindings:
#- { when: composing, accept: Tab, send: '[' } ## 取消注释后:tab引导辅助码
- { when: composing, accept: Control+m, send: Return }
- { when: composing, accept: Control+w, send: Control+BackSpace }
- { when: has_menu, accept: semicolon, send: 2 }
- { when: has_menu, accept: slash, send: 3 }
- { when: composing, accept: Control+i, send: Shift+Right }
- { when: composing, accept: Control+o, send: Shift+Left }
## 对以下4行取消注释后:启用光标回退至特定音节后、补充辅助码的功能
## (自然码等其他双拼用户请在 pinyin_switch.yaml 中设置)
#- { when: composing, accept: Control+1, send_sequence: '{Home}{Shift+Right}[' }
#- { when: composing, accept: Control+2, send_sequence: '{Home}{Shift+Right}{Shift+Right}[' }
#- { when: composing, accept: Control+3, send_sequence: '{Home}{Shift+Right}{Shift+Right}{Shift+Right}[' }
#- { when: composing, accept: Control+4, send_sequence: '{Home}{Shift+Right}{Shift+Right}{Shift+Right}{Shift+Right}[' }

https://github.com/gaboolic/rime-shuangpin-fuzhuma/issues/5

gaboolic commented 6 months ago

7 关于qu qv,ju jv 打开# - derive/^([jqxy])u/$1v/的注释,即可qu qv,ju jv互相飞键 再去掉custom_phrase.txt中的短语

yimengzhiyan commented 6 months ago

“5 自定义配置 自定义配置建议放在 flypy_flypy.custom.yaml 文件” 大佬,在仓库里没找到这个文件啊,想着根据“小鹤快手”的github自己在自定义一下但是死活对不上文件

gaboolic commented 6 months ago

“5 自定义配置 自定义配置建议放在 flypy_flypy.custom.yaml 文件” 大佬,在仓库里没找到这个文件啊,想着根据“小鹤快手”的github自己在自定义一下但是死活对不上文件

这个要自己加

qiangu2020 commented 6 months ago

6 启用光标回退至特定音节后、补充辅助码的功能

key_binder:
import_preset: default
bindings:
#- { when: composing, accept: Tab, send: '[' } ## 取消注释后:tab引导辅助码
- { when: composing, accept: Control+m, send: Return }
- { when: composing, accept: Control+w, send: Control+BackSpace }
- { when: has_menu, accept: semicolon, send: 2 }
- { when: has_menu, accept: slash, send: 3 }
- { when: composing, accept: Control+i, send: Shift+Right }
- { when: composing, accept: Control+o, send: Shift+Left }
## 对以下4行取消注释后:启用光标回退至特定音节后、补充辅助码的功能
## (自然码等其他双拼用户请在 pinyin_switch.yaml 中设置)
#- { when: composing, accept: Control+1, send_sequence: '{Home}{Shift+Right}[' }
#- { when: composing, accept: Control+2, send_sequence: '{Home}{Shift+Right}{Shift+Right}[' }
#- { when: composing, accept: Control+3, send_sequence: '{Home}{Shift+Right}{Shift+Right}{Shift+Right}[' }
#- { when: composing, accept: Control+4, send_sequence: '{Home}{Shift+Right}{Shift+Right}{Shift+Right}{Shift+Right}[' }

5

请问这个是放到哪个文件里面的

gaboolic commented 6 months ago

{Home}{Shift+Right}{Shift+Right}

flypy_flypy.schema.yaml

gaboolic commented 5 months ago

8 快符 https://github.com/gaboolic/rime-shuangpin-fuzhuma/issues/19 https://github.com/gaboolic/rime-shuangpin-fuzhuma/issues/13

o符快符使用可以参考:https://flypy.cc/#/fh 举例: 希腊字母 ofxx αβγ ofxd ΑΒΓ

gaboolic commented 5 months ago

9 以词定字 以词定字的功能关了,因为有辅助码了 就不太需要以词定字 如果想打开 可以看https://github.com/gaboolic/rime-shuangpin-fuzhuma/issues/15#issuecomment-2087710504

gaboolic commented 5 months ago

10 预输入框中显示双拼与全拼 来自 ChaosAlphard 详见https://github.com/gaboolic/rime-shuangpin-fuzhuma/pull/18

image

yunyingfeng commented 1 month ago

键盘上面的全选复制功能不是上划吗