Rime 配置

273 字
1 分钟
Rime 配置

介绍#

  • 小狼毫 Weasel (Windows)
  • 鼠须管 Squirrel (macOS)
  • 中州韵 (Linux)
  • 同文 Trime (Android)

以上输入法均为 Rime 引擎在不同平台的输入法实现。


配置#

用户配置目录:

  • Windows:%AppData%\Rime
  • Fcitx5:.local/share/fcitx5/rime/
  • IBus:~/.config/ibus/rime

Rime 的目录结构:

.
├── build
│ ├── default.yaml
│ ├── luna_pinyin.prism.bin
│ ├── luna_pinyin.reverse.bin
│ ├── luna_pinyin.schema.yaml
│ ├── luna_pinyin.table.bin
│ ├── luna_pinyin_fluency.schema.yaml
│ ├── luna_pinyin_simp.prism.bin
│ ├── luna_pinyin_simp.schema.yaml
│ ├── luna_pinyin_tw.prism.bin
│ ├── luna_pinyin_tw.schema.yaml
│ └── weasel.yaml
├── default.custom.yaml 修改这个配置文件,会覆盖上面的 default.yaml
├── installation.yaml
├── luna_pinyin.userdb
│ ├── 000005.ldb
│ ├── 000008.log
│ ├── CURRENT
│ ├── LOCK
│ ├── LOG
│ ├── LOG.old
│ └── MANIFEST-000007
├── user.yaml
└── weasel.custom.yaml

重新部署:

IBus:

ibus restart

其中外观类的需要修改输入法框架配置:

  • weasel[.custom].yaml
patch:
show_notifications: false # 禁用中英文切换图标

在配置目录中新建 default.custom.yaml 文件,用于覆盖默认的配置。

patch:
menu:
# 候选词数量
page_size: 9
ascii_composer:
switch_key:
# 禁用左 Shift
Shift_L: noop
# 不是 Ctrl
Control_L: commit_code
switcher:
# 禁用所有菜单按键
hotkeys: []
patch:
__include: rime_ice_suggestion:/
menu:
page_size: 9 # 设置候选词数量
ascii_composer:
switch_key:
Shift_L: noop # 禁用左 Shift
Control_L: commit_code # 使用左 Control 切换
switcher:
hotkeys: [] # 关闭 Rime 菜单快捷键

References#

Rime 配置
https://nekoside.com/posts/rime-configuration/
作者
nekoside
发布于
2026-06-17
许可协议
CC BY-NC-SA 4.0
文章目录