自从 Rime 输入法升级到 0.16.1 以来,已经趋向于成熟,其具有自由度高、可玩性好等特点,可以实现多各设备快速同步字库的显著优势。

安装

与市面上常见的 IME(Input Method,输入法)不同,Rime 通过读取用户的配置文件夹下的文件实现功能。

雾凇拼音输入方案,可以实现 Rime 开箱即用,下面主要使用雾凇进行配置。

图片

  1. 下载 full.zip 并解压到本地,例如 path/to/config/rime/;
  2. 安装 Rime,在安装过程中弹窗选择配置文件存放位置,选择上方解压的路径;
  3. 根据不同 OS 启用输入法,在 Windows 下并点击 Rime 图标进行部署;
  4. 根据雾凇的配置进行选择输入方案;

其他输入方案

上面使用的是雾凇拼音输入方案,该方案支持多种输入方案,但是如果希望使用双拼方案中的小鹤音型,那么你应该考虑使用 凇鹤拼音

凇鹤拼音,仅支持全拼、小鹤双拼、小鹤双拼音形方案。

字体选择

根据雾凇拼音的 issue,有几种比较好的字体推荐,包括 MiSans;

https://hyperos.mi.com/font/zh/download/

推荐使用 MiSans + MiSans L3 + Noto Color Emoji 组合。

皮肤

我现在在用的有三个皮肤,MacOS Light / Wechat / Wechat dark。

macos_light

macos_light: {alpha: 1, author: "小码哥", back_color: 0xFFFFFF, base_offset: 0, border_color: 0x00FFFFFF, border_height: 1, border_width: 1, candidate_back_color: 0xFFFFFF, candidate_format: "%c %@ ", candidate_list_layout: linear, candidate_text_color: 0x3c3c3c, color_space: srgb, comment_font_face: PingFangSC, comment_font_point: 16, comment_text_color: 0x999999, corner_radius: 5, font_face: PingFangSC, font_point: 16, hilited_back_color: 0xD75A00, hilited_candidate_back_color: 0xD75A00, hilited_candidate_label_color: 0xFFFFFF, hilited_candidate_text_color: 0xFFFFFF, hilited_comment_text_color: 0xFFFFFF, hilited_corner_radius: 5, hilited_text_color: 0xFFFFFF, inline_preedit: true, label_color: 0x999999, label_font_face: PingFangSC, label_font_point: 12, line_spacing: 5, mutual_exclusive: false, name: "MacOS 浅色/ MacOS Light", shadow_size: 0, spacing: 10, surrounding_extra_expansion: 0, text_color: 0x424242, text_orientation: horizontal, translucency: false}

wechat

wechat: {author: zsakvo, back_color: 0xFFFFFF, border_color: 0x00FFFFFF, border_height: 1, border_width: 1, candidate_format: "%c %@ ", comment_text_color: 0x999999, corner_radius: 5, hilited_candidate_back_color: 0x75B100, hilited_candidate_text_color: 0xFFFFFF, hilited_corner_radius: 5, horizontal: true, inline_preedit: true, label_font_point: 12, name: "微信键盘 / WeChat-keyboard", text_color: 0x424242}

wechat dark

wechat_dark: {author: shlroland, back_color: 0x151515, border_color: 0x151515, border_height: 0, border_width: 8, candidate_format: "%c %@ ", comment_text_color: 0xAEAEAE, corner_radius: 5, hilited_candidate_back_color: 0x75B100, hilited_candidate_text_color: 0xFFFFFF, hilited_corner_radius: 5, horizontal: true, inline_preedit: true, label_color: 0x777777, label_font_point: 12, name: "微信键盘_深色 / WeChat-keyboard_dark", text_color: 0xBBBBBB}

配置文件

我的 weasel.custom.yaml 如下

customization:
  distribution_code_name: Weasel
  distribution_version: 0.16.1
  generator: "Weasel::UIStyleSettings"
  modified_time: "Wed Aug  7 10:49:52 2024"
  rime_version: 1.11.2
patch:
  preset_color_schemes:
    macos_light: {alpha: 1, author: "小码哥", back_color: 0xFFFFFF, base_offset: 0, border_color: 0x00FFFFFF, border_height: 1, border_width: 1, candidate_back_color: 0xFFFFFF, candidate_format: "%c %@ ", candidate_list_layout: linear, candidate_text_color: 0x3c3c3c, color_space: srgb, comment_font_face: PingFangSC, comment_font_point: 16, comment_text_color: 0x999999, corner_radius: 5, font_face: PingFangSC, font_point: 16, hilited_back_color: 0xD75A00, hilited_candidate_back_color: 0xD75A00, hilited_candidate_label_color: 0xFFFFFF, hilited_candidate_text_color: 0xFFFFFF, hilited_comment_text_color: 0xFFFFFF, hilited_corner_radius: 5, hilited_text_color: 0xFFFFFF, inline_preedit: true, label_color: 0x999999, label_font_face: PingFangSC, label_font_point: 12, line_spacing: 5, mutual_exclusive: false, name: "MacOS 浅色/ MacOS Light", shadow_size: 0, spacing: 10, surrounding_extra_expansion: 0, text_color: 0x424242, text_orientation: horizontal, translucency: false}
    wechat: {author: zsakvo, back_color: 0xFFFFFF, border_color: 0x00FFFFFF, border_height: 1, border_width: 1, candidate_format: "%c %@ ", comment_text_color: 0x999999, corner_radius: 5, hilited_candidate_back_color: 0x75B100, hilited_candidate_text_color: 0xFFFFFF, hilited_corner_radius: 5, horizontal: true, inline_preedit: true, label_font_point: 12, name: "微信键盘 / WeChat-keyboard", text_color: 0x424242}
    wechat_dark: {author: shlroland, back_color: 0x151515, border_color: 0x151515, border_height: 0, border_width: 8, candidate_format: "%c %@ ", comment_text_color: 0xAEAEAE, corner_radius: 5, hilited_candidate_back_color: 0x75B100, hilited_candidate_text_color: 0xFFFFFF, hilited_corner_radius: 5, horizontal: true, inline_preedit: true, label_color: 0x777777, label_font_point: 12, name: "微信键盘_深色 / WeChat-keyboard_dark", text_color: 0xBBBBBB}
  "style/color_scheme": wechat
  "style/color_scheme_dark": wechat_dark
  "style/font_face": "'MiSans', 'MiSans L3', 'Noto Color Emoji'" # "霞鹜文楷"
  "style/font_point": 14
  "“app_options”":
    WindowsTerminal.exe: {ascii_mode: true}

default.custom.yaml 如下

customization:
  distribution_code_name: Weasel
  distribution_version: 0.16.1
  generator: "Rime::SwitcherSettings"
  modified_time: "Wed Aug  7 10:50:47 2024"
  rime_version: 1.11.2
patch:
  schema_list:
    - {schema: double_pinyin_flypy}
    - {schema: rime_ice}
  switcher:
    fold_options: false
    hotkeys: ["Control+Shift+grave", F4]