Skip to content

Instantly share code, notes, and snippets.

View lotem's full-sized avatar

居戎氏 lotem

  • Beijing, China
View GitHub Profile
@lotem
lotem / wugniu.custom.yaml
Created March 11, 2012 06:42
Rime 吳語輸入方案模糊音定製檔
# 文件名: 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 March 22, 2012 14:43
Rime輸入方案【速記打字法】
# 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 March 12, 2024 11:51
【鼠鬚管】定製檔
# 適用於【鼠鬚管】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 January 25, 2024 08:47
在Rime輸入方案選單中添加五筆、雙拼、粵拼、注音,保留你需要的
# 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 April 6, 2012 03:57 — forked from NemoAlex/gist:2316620
在 Rime 中加入"["和"]"翻页按键绑定(以【明月拼音】为例)
# 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 April 6, 2012 15:46
【朙月拼音】模糊音定製模板
# luna_pinyin.custom.yaml
#
# 【朙月拼音】模糊音定製模板
# 佛振配製 :-)
#
# 位置:
# ~/.config/ibus/rime (Linux)
# ~/Library/Rime (Mac OS)
# %APPDATA%\Rime (Windows)
#
@lotem
lotem / alternative.yaml
Created April 8, 2012 03:44
Rime 別樣設定,使用西文標點、[ ] 鍵換頁
# 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 April 8, 2012 06:55
倉頡五代構詞碼
#
# 倉頡五代構詞碼
#
# 碼表由惜緣兄製作
# 佛振修訂於 2012-04-08
#
# License: GPL
#
# 說明:
# 詞彙編碼中,單字的取碼有幾種情況:
@lotem
lotem / cangjie5.custom.yaml
Last active December 18, 2021 03:14
Rime設定:以回車清除編碼串,分號、單引號鍵選擇2、3候選(以【倉頡五代】为例)
# 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 June 17, 2012 11:58
Rime定製檔:設定【倉頡】的反查碼爲雙拼
# 因爲【雙拼】使用的詞典就是【朙月拼音】的詞典,所以輸入方案中原有的
# reverse_lookup/dictionary: luna_pinyin 保持不變,另外指定一項 prism
patch:
reverse_lookup/prism: double_pinyin
reverse_lookup/tips: 〔雙拼〕
reverse_lookup/preedit_format: []