Skip to content

Instantly share code, notes, and snippets.

@lotem
Last active December 19, 2015 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lotem/5982109 to your computer and use it in GitHub Desktop.
Save lotem/5982109 to your computer and use it in GitHub Desktop.
自家用的倉頡定製檔
patch:
engine/translators:
- punct_translator
- table_translator@custom_phrase
- reverse_lookup_translator
- table_translator
custom_phrase:
dictionary: ""
user_dict: custom_phrase
db_class: stabledb
enable_completion: false
enable_sentence: false
initial_quality: 1
# 中州羅馬字反查及混打
schema/dependencies:
- zhung
reverse_lookup/dictionary: zhung
reverse_lookup/tips: 〔羅馬字〕
reverse_lookup/preedit_format: []
# / 鍵引導特殊符號
recognizer/patterns/punct: '^/[a-z]*$'
punctuator/import_preset: symbols
# 自訂符號短語
punctuator/symbols:
'/email': chen.sst@gmail.com
'/fz': &fz
- 佛振 <chen.sst@gmail.com>
- 上天赋予你高的智商 教你用到有用的地方
'/me': *fz
'/rime':
- 中州韻輸入法引擎
- Rime Input Method Engine
- http://code.google.com/p/rimeime/
- http://rimeime.github.io
'/lotem': https://github.com/lotem
'/github': http://github.com
# emacs uses C-@
key_binder/bindings:
- { accept: Control+Shift+at, send: Control+Shift+at, when: always }
- { accept: Control+Shift+2, send: Control+Shift+2, when: always }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment