Skip to content

Instantly share code, notes, and snippets.

Avatar

居戎氏 lotem

  • Beijing, China
View GitHub Profile
@lotem
lotem / wugniu.custom.yaml
Created Mar 11, 2012
Rime 吳語輸入方案模糊音定製檔
View wugniu.custom.yaml
# 文件名: wugniu.custom.yaml
# 爲 wugniu.schema.yaml 打補靪
# #號爲註釋符號,要是不需要開始某一行模糊功能請在該行前頭加#號,要是需要該行模糊功能請去掉前面#號。注意要使用的行的對齊。
patch:
"speller/algebra":
- abbrev/^([bcdfghjklprstvwxyz]).+$/$1/ # 對齊標準行
- derive/^tzi/ci/ # 以下四行是模糊分尖團音
- derive/^tsi/chi/
- derive/^zi/ji/
- derive/^si/xi/
@lotem
lotem / stenotype.schema.yaml
Created Mar 22, 2012
Rime輸入方案【速記打字法】
View stenotype.schema.yaml
# Rime schema
# vim: set sw=2 sts=2 et:
# encoding: utf-8
schema:
schema_id: stenotype
name: 速記打字法
version: "0.2"
author:
- 佛振 <chen.sst@gmail.com>
@lotem
lotem / squirrel.custom.yaml
Last active Oct 7, 2021
【鼠鬚管】定製檔
View squirrel.custom.yaml
# 適用於【鼠鬚管】0.9.13+
# 位置:~/Library/Rime/squirrel.custom.yaml
# 用法:想要哪項生效,就刪去該行行首的#字符,但注意保留用於縮進的空格
patch:
# us_keyboard_layout: true # 鍵盤選項:應用美式鍵盤佈局
# show_notifications_when: growl_is_running # 狀態通知,默認裝有Growl時顯示,也可設爲全開(always)全關(never)
# style/horizontal: true # 候選窗横向顯示
# style/inline_preedit: false # 非內嵌編碼行
# style/font_face: "儷黑 Pro" # 我喜歡的字體名稱
@lotem
lotem / default.custom.yaml
Last active Sep 27, 2021
在Rime輸入方案選單中添加五筆、雙拼、粵拼、注音,保留你需要的
View default.custom.yaml
# default.custom.yaml
# save it to:
# ~/.config/ibus/rime (linux)
# ~/Library/Rime (macos)
# %APPDATA%\Rime (windows)
patch:
schema_list:
- schema: luna_pinyin # 朙月拼音
- schema: luna_pinyin_simp # 朙月拼音 简化字模式
@lotem
lotem / luna_pinyin.custom.yaml
Created Apr 6, 2012 — forked from NemoAlex/gist:2316620
在 Rime 中加入"["和"]"翻页按键绑定(以【明月拼音】为例)
View luna_pinyin.custom.yaml
# luna_pinyin.custom.yaml
# save it to:
# ~/.config/ibus/rime (linux)
# ~/Library/Rime (macos)
# %APPDATA%\Rime (windows)
patch:
"key_binder/bindings":
- { when: paging, accept: bracketleft, send: Page_Up }
- { when: has_menu, accept: bracketright, send: Page_Down }
@lotem
lotem / luna_pinyin.custom.yaml
Created Apr 6, 2012
【朙月拼音】模糊音定製模板
View luna_pinyin.custom.yaml
# luna_pinyin.custom.yaml
#
# 【朙月拼音】模糊音定製模板
# 佛振配製 :-)
#
# 位置:
# ~/.config/ibus/rime (Linux)
# ~/Library/Rime (Mac OS)
# %APPDATA%\Rime (Windows)
#
@lotem
lotem / alternative.yaml
Created Apr 8, 2012
Rime 別樣設定,使用西文標點、[ ] 鍵換頁
View alternative.yaml
# 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
@lotem
lotem / gist:2335341
Created Apr 8, 2012
倉頡五代構詞碼
View gist:2335341
#
# 倉頡五代構詞碼
#
# 碼表由惜緣兄製作
# 佛振修訂於 2012-04-08
#
# License: GPL
#
# 說明:
# 詞彙編碼中,單字的取碼有幾種情況:
@lotem
lotem / cangjie5.custom.yaml
Last active Jan 4, 2018
Rime設定:以回車清除編碼串,分號、單引號鍵選擇2、3候選(以【倉頡五代】为例)
View cangjie5.custom.yaml
# 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 }
@lotem
lotem / cangjie5.custom.yaml
Created Jun 17, 2012
Rime定製檔:設定【倉頡】的反查碼爲雙拼
View cangjie5.custom.yaml
# 因爲【雙拼】使用的詞典就是【朙月拼音】的詞典,所以輸入方案中原有的
# reverse_lookup/dictionary: luna_pinyin 保持不變,另外指定一項 prism
patch:
reverse_lookup/prism: double_pinyin
reverse_lookup/tips: 〔雙拼〕
reverse_lookup/preedit_format: []