This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use a custom dictionary. | |
patch: | |
translator/dictionary: terra_pinyin.mine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 用移動硬盤同步RIME用戶詞典的樣例 | |
# 用於同步的分區名爲share(盤符H:),同步文件夾是 home/rimesync,Linux 用戶名爲 lotem | |
# 每套輸入法分別在 installation.yaml 裏設 sync_dir 和 installation_id | |
# 接上硬盤,Windows 和 Mac 一鍵完成同步。Linux 用 rime_dict_manager -s 同步。 | |
➜ ~ for x in /media/share/home/rimesync/*/installation.yaml ~/.config/ibus/rime/installation.yaml; do echo $x; echo '---'; cat $x; echo '...'; done | |
/media/share/home/rimesync/lotem-macbook/installation.yaml | |
--- | |
distribution_code_name: Squirrel | |
distribution_name: "鼠须管" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
patch: | |
schema/dependencies/@next: stroke | |
engine/translators/@next: reverse_lookup_translator | |
recognizer/patterns/reverse_lookup: "`[a-z]*'?$" | |
reverse_lookup: | |
dictionary: stroke | |
enable_completion: true | |
prefix: "`" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# luna_pinyin.custom.yaml | |
# | |
# 在【朙月拼音】裏使用Emoji表情(這份配置已過時,新的emoji實現代碼在 https://github.com/rime/rime-emoji ) | |
# | |
# 保存到Rime用戶文件夾後,重新部署生效 | |
# ~/.config/ibus/rime (linux) | |
# ~/Library/Rime (macos) | |
# %APPDATA%\Rime (windows) | |
# | |
# 如果目標文件已經包含其他修改內容,只需按照縮進合併 patch: 以下的部分 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cangjie5.custom.yaml | |
# save it to: | |
# ~/.config/ibus/rime (linux) | |
# ~/Library/Rime (macos) | |
# %APPDATA%\Rime (windows) | |
patch: | |
"key_binder/bindings": | |
- { when: composing, accept: Return, send: Escape } | |
- { when: has_menu, accept: semicolon, send: 2 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# luna_pinyin.custom.yaml | |
# 修改字典名爲 luna_pinyin.kunki | |
# 其對應的用戶詞典名取句點之前部分即 luna_pinyin | |
patch: | |
translator/dictionary: luna_pinyin.kunki |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 將反查詞典改爲粵拼。 | |
# 注意【速成】支持全碼、簡碼混合輸入,反查出來的實爲倉頡全碼。 | |
patch: | |
reverse_lookup/dictionary: jyutping | |
reverse_lookup/tips: 〔粵拼〕 | |
reverse_lookup/preedit_format: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# put this script in ~/Library/Rime, then deploy Rime for Squirrel: | |
# ./rime_deployer --build . "/Library/Input Methods/Squirrel.app/SharedSupport/" | |
# see other supported options: | |
# ./rime_deployer | |
DYLD_LIBRARY_PATH="/Library/Input Methods/Squirrel.app/Contents/Frameworks" "/Library/Input Methods/Squirrel.app/Contents/MacOS/rime_deployer" $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 因爲【雙拼】使用的詞典就是【朙月拼音】的詞典,所以輸入方案中原有的 | |
# reverse_lookup/dictionary: luna_pinyin 保持不變,另外指定一項 prism | |
patch: | |
reverse_lookup/prism: double_pinyin | |
reverse_lookup/tips: 〔雙拼〕 | |
reverse_lookup/preedit_format: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime alternative settings | |
# encoding: utf-8 | |
# | |
# difference from default settings: | |
# 1. ascii-style punctuation in half-shape mode | |
# 2. [ ] as paging keys | |
# | |
# save this file as: | |
# (Linux) ~/.config/ibus/rime/alternative.yaml | |
# (Mac OS) ~/Library/Rime/alternative.yaml |