Mac鼠须管五笔输入法安装及自定义配置

MacOS下载安装鼠鬚管Squirrel

其他安裝方式:

相關軟件:

安装完以后需要重新登陆一下或者重启。


定制五笔输入法


配置输入法的的外观和特性的几个文件:

  • squirrel.custom.yaml ,自定义皮肤;

  • default.custom.yaml ,设定备选词数量,定义输入方案;

  • luna_pinyin_simp.custom.yaml ,定义扩充词库、加载符号库、模糊拼音。明月拼音·简化字的输入方案配置文件,明月拼音对应的文件就是 luna_pinyin.custom.yaml;

  • installation.yaml,定义配置文件保存到 Dropbox 文件夹

  • $TMPDIR/rime.squirrel.INFO 部署日志

鼠须管的配置文件都在 mac 系统的 “/Users/<your_name>/Library/Rime” 目录下,进入Rime目录,vim default.custom.yaml,然后修改schema_list定制输入法

# default.custom.yaml
# save it to:
#   ~/.config/ibus/rime  (linux)
#   ~/Library/Rime       (macos)
#   %APPDATA%\Rime       (windows)

patch:
 schema_list:
   - schema: wubi86          # 五笔86輸入
   - schema: wubi_pinyin          # 五笔拼音混合輸入
   - schema: luna_pinyin          # 朙月拼音
 "key_binder/bindings": # "["和"]"翻页按键绑定
   - { when: paging, accept: bracketleft, send: Page_Up }
   - { when: has_menu, accept: bracketright, send: Page_Down }
 ascii_composer/switch_key:
   Caps_Lock: noop
   Control_L: noop
   Control_R: noop
   Eisu_toggle: clear
   Shift_L: commit_code # 配置后,可以直接用shift上屏英文字母
   Shift_R: noop

自定义皮肤设置

patch:
 show_notifications_when: appropriate # 状态通知,适当,也可设为全开(always)全关(never)
 "app_options/com.runningwithcrayons.Alfred-3/ascii_mode": true
 style/color_scheme: beyondkmp             # 方案命名,不能有空格
 preset_color_schemes:
   beyondkmp:
     name: 幽能/Psionics
     author: 雨過之後、佛振
     horizontal: true                                   # 水平排列
     inline_preedit: true                               # 单行显示,false双行显示
     candidate_format: "%c\u2005%@ \u2005 \u2005"       # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。
     corner_radius: 5                                   # 候选条圆角
     border_height: 6                                   # 窗口边界高度,大于圆角半径才生效
     border_width: 6                                    # 窗口边界宽度,大于圆角半径才生效
     font_face: "PingFangSC-Regular,HanaMinB"      # 候选词字体
     font_point: 18                                     # 候选字词大小
     label_font_face: "STHeitiSC-Light"                 # 候选词编号字体
     label_font_point: 16                               # 候选编号大小
     text_color: 0xc2c2c2                               # 拼音行文字颜色,24位色值,16进制,BGR顺序
     back_color: 0x444444                               # 候选条背景色
     border_color: 0xE0B693                             # 边框色
     label_color: 0x9e9e9e                              # 预选栏编号颜色
     candidate_text_color: 0xeeeeee                     # 预选项文字颜色
     comment_text_color: 0x808080                       # 拼音等提示文字颜色
     hilited_text_color: 0xeeeeee                       # 高亮拼音 (需要开启内嵌编码)
     hilited_back_color: 0x444444                       # 高亮背景色
     hilited_candidate_text_color: 0xfafafa             # 第一候选项文字颜色
     hilited_candidate_back_color: 0xd8bf00             # 第一候选项背景背景色
     hilited_candidate_label_color: 0xfafafa            # 第一候选项编号颜色
     hilited_comment_text_color: 0x444444               # 注解文字高亮

安装输入方案

安裝包精簡後只提供輸入法程序及基本開箱體驗所需的最小數據集。

由此獲取 所需輸入方案配方包,佈置在 用戶文件夾。自製方案及補丁文件也繼續放在這裏。

通過命令行安裝預設輸入方案:

curl -fsSL https://git.io/rime-install | bash -s -- :preset

或列舉要額外安裝的配方包名,如

curl -fsSL https://git.io/rime-install | bash -s -- :preset double-pinyin

curl -fsSL https://git.io/rime-install | bash -s -- :preset wubi pinyin-simp

This is equivalent to cloning this repo and running the local copy of rime-install:
git clone --depth 1 https://github.com/rime/plum.git
cd plum
bash rime-install :preset

重新加载输入法

1,添加键盘 
    系统偏好设置 - 键盘 - 输入源 - 添加鼠须管,

2,部署
    输入法要切换到 鼠须管
    control + option + ~

3,control + ~  选择方案

ok,这样就可以使用五笔输入法啦。

Mac鼠须管五笔输入法安装及自定义配置

没有广告、没有数据信息收集,更安全又好用,你值得拥有!

ubuntun配置Rime:Ubuntu16.04桌面版安装rime输入法 


参考:

anzhihe 安志合个人博客,版权所有 丨 如未注明,均为原创 丨 转载请注明转自:https://chegva.com/3282.html | ☆★★每天进步一点点,加油!★★☆ | 

您可能还感兴趣的文章!

发表评论

电子邮件地址不会被公开。 必填项已用*标注