Skip to content

Instantly share code, notes, and snippets.

@Domon
Last active June 15, 2024 07:00
Show Gist options
  • Save Domon/5184855 to your computer and use it in GitHub Desktop.
Save Domon/5184855 to your computer and use it in GitHub Desktop.
Domon's Rime Settings

Domon's Rime Settings

Install

brew install --cask squirrel

Config

cd ~/Library/Rime

ln -s /path/to/bopomofo.custom.yaml
ln -s /path/to/default.custom.yaml
ln -s /path/to/squirrel.custom.yaml
# Customized Rime schema
# encoding: utf-8
patch:
switches:
- name: ascii_mode
reset: 1
states:
- 中文
- 西文
- name: full_shape
reset: 0
states:
- 半角
- 全角
# 啟用 OpenCC 字形轉換,但不在選單中顯示(見 `zh_hant_tw` 設定於 `build/bopomofo_tw.schema.yaml`)
- name: zh_hant_tw
reset: 1
punctuator/full_shape/':
commit: 、
punctuator/half_shape/':
commit: 、
# Customized Rime settings
# encoding: utf-8
patch:
schema_list:
# - schema: bopomofo
- schema: bopomofo_tw
menu/page_size: 9
patch:
us_keyboard_layout: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment