View quick5.custom.yaml
# 將反查詞典改爲粵拼。 | |
# 注意【速成】支持全碼、簡碼混合輸入,反查出來的實爲倉頡全碼。 | |
patch: | |
reverse_lookup/dictionary: jyutping | |
reverse_lookup/tips: 〔粵拼〕 | |
reverse_lookup/preedit_format: [] |
View default.custom.yaml
# 中西文切換鍵的默認設置寫在 default.yaml 裏面 | |
# 以下的 default.custom.yaml 在全局範圍重定義該組快速鍵 | |
# | |
# 可用的按鍵有 Caps_Lock, Shift_L, Shift_R, Control_L, control_R | |
# Mac 系統上的鼠鬚管不能區分左、右,因此只有對 Shift_L, Control_L 的設定起作用 | |
# | |
# 已輸入編碼時按切換鍵,可以進一步設定輸入法中西文切換的形式。 | |
# 可選的臨時切換策略有三: | |
# inline_ascii 在輸入法的臨時西文編輯區內輸入字母、數字、符號、空格等,回車上屏後自動復位到中文 | |
# commit_text 已輸入的候選文字上屏並切換至西文輸入模式 |
View cangjie5-ext-abcd-markup.py
#!/usr/bin/env python | |
import sys | |
for x in sys.stdin: | |
t = x.rstrip().split("\t") | |
if len(t) != 2: | |
print x, | |
continue | |
ch = t[0].decode('utf8') | |
if len(ch) != 1: |
View default.custom.yaml
# default.custom.yaml | |
# 全局範圍識別輸入串爲 rime + 任意數字序列,以及形如 rimeime-1.2.3 的常用西文短語 | |
# 也可將本組 patch 寫入 <輸入方案ID>.custom.yaml 使這組規則僅在一款輸入方案中有效 | |
# | |
# 第一例,輸入 rime 之後,再輸入任意一個數字,則立即識別爲西文輸入 | |
# 再加上 default.yaml 原有的 email 規則,識別包含 @ 字符的郵箱,於是可以一氣呵成 rime123@company.com | |
# 第二例,輸入到 rimeime 時,立即識別爲西文輸入,並可跟隨任意位數字及指定的符號 | |
patch: | |
recognizer/patterns/rime123: "^rime[0-9]+$" |
View luna_pinyin.custom.yaml
# luna_pinyin.custom.yaml | |
# | |
# 在【朙月拼音】裏使用Emoji表情(這份配置已過時,新的emoji實現代碼在 https://github.com/rime/rime-emoji ) | |
# | |
# 保存到Rime用戶文件夾後,重新部署生效 | |
# ~/.config/ibus/rime (linux) | |
# ~/Library/Rime (macos) | |
# %APPDATA%\Rime (windows) | |
# | |
# 如果目標文件已經包含其他修改內容,只需按照縮進合併 patch: 以下的部分 |
View bopomofo.schema.yaml
# Rime schema | |
# encoding: utf-8 | |
schema: | |
schema_id: bopomofo | |
name: 注音 | |
version: "0.6.9999" | |
author: | |
- 佛振 <chen.sst@gmail.com> | |
description: | |
View default.custom.yaml
# default.custom.yaml | |
patch: | |
punctuator/half_shape: "es | |
'[': 「 | |
']': 」 | |
'{': 『 | |
'}': 』 | |
punctuator/full_shape: *quotes |
View kuankhiunn.dict.yaml
# Rime dictionary | |
# vim: set ts=8 sw=8 noet: | |
# encoding: utf-8 | |
# | |
# kuankhiunn - 廣韻羅馬字 | |
# | |
# 基於Polyhedron、有女同車整理的《廣韻全字表》製作 | |
# 拼寫方案採用有女同車羅馬字,佛振根據有女同車的修改意見改編 | |
# |
View user.conf
ShuangPin : | |
{ | |
ZiRanMa : | |
{ | |
YinJie : | |
{ | |
a="oa"; | |
ai="ol"; | |
an="oj"; | |
ang="oh"; |
View gist:4483504
# 用移動硬盤同步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: "鼠须管" |