Created
May 29, 2012 01:19
-
-
Save newkedison/2822027 to your computer and use it in GitHub Desktop.
Rimeime
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime schema | |
# encoding: utf-8 | |
# 这是我配置的第一个Rime输入方案,主要按照我自己的需求来设计,包括以下特点 | |
# 1. 使用原来的luna_pinyin的字典 | |
# 2. 默认情况下,使用简体字(毕竟繁体字我虽然看得懂,但写起来可能就贻笑大方了) | |
# 3. 默认情况下,使用半角标点符号 | |
# 4. 把大部分全角标点定义为唯一映射,我觉得出个列表来选择没太大作用,还要多按一次空格,还是唯一选择就好了 | |
# 5. 把Shift和Ctrl的功能重新修改,目前只有左Ctrl有用,在输入一段内容后,按Ctrl可以直接上屏,然后切换为英文输入,如果没有输入的内容,则切换为英文 | |
# 6. 去掉的反查的功能,目前没有学习其他输入方法的计划 | |
# 7. 去掉"方案选单"的F4快捷键,只保留Ctrl+`的快捷键 | |
schema: | |
schema_id: newk_pinyin | |
name: "自定义方案" | |
author: | |
- "newk" | |
description: | |
- "完全适合于我自己使用习惯的输入法" | |
version: "0.1" | |
engine: | |
processors: | |
- ascii_composer | |
- recognizer | |
- key_binder | |
- speller | |
- punctuator | |
- selector | |
- navigator | |
- express_editor | |
segmentors: | |
- ascii_segmentor | |
- matcher | |
- abc_segmentor | |
- punct_segmentor | |
- fallback_segmentor | |
translators: | |
- echo_translator | |
- punct_translator | |
- r10n_translator | |
filters: | |
- simplifier | |
- uniquifier | |
translator: | |
dictionary: luna_pinyin | |
punctuator: | |
full_shape: | |
" " : { commit: " " } | |
"," : { commit: , } | |
"." : { commit: 。 } | |
"<" : 《 | |
">" : 》 | |
"/" : 、 | |
"?" : { commit: ? } | |
";" : { commit: ; } | |
":" : : | |
"'" : { pair: [ "‘", "’" ] } | |
"\"" : { pair: [ "“", "”" ] } | |
"\\" : [ 、, \, "\\" ] | |
"|" : [ ・, |, "|", "§", "¦" ] | |
"`" : ` | |
"~" : 〜 | |
"!" : { commit: ! } | |
"@" : @ | |
"#" : # | |
"%" : % | |
"$" : ¥ | |
"^" : { commit: …… } | |
"&" : & | |
"*" : * | |
"(" : ( | |
")" : ) | |
"-" : - | |
"_" : —— | |
"+" : + | |
"=" : = | |
"[" : 【 | |
"]" : 】 | |
"{" : 『 | |
"}" : 』 | |
half_shape: | |
"," : { commit: "," } | |
"." : { commit: "." } | |
"<" : "<" | |
">" : ">" | |
"/" : "/" | |
"?" : { commit: "?" } | |
";" : { commit: ";" } | |
":" : { commit: ":" } | |
"'" : "'" | |
"\"" : "\"" | |
"\\" : "\\" | |
"|" : "|" | |
"`" : "`" | |
"~" : "~" | |
"~" : "~" | |
"!" : { commit: "!" } | |
"@" : "@" | |
"#" : "#" | |
"%" : "%" | |
"$" : "$" | |
"^" : "^" | |
"&" : "&" | |
"*" : "*" | |
"(" : "(" | |
")" : ")" | |
"-" : "-" | |
"_" : "_" | |
"+" : "+" | |
"=" : "=" | |
"[" : "[" | |
"]" : "]" | |
"{" : "{" | |
"}" : "}" | |
key_binder: | |
import_preset: default | |
menu: | |
page_size: 9 | |
recognizer: | |
import_preset: default | |
switches: | |
- name: ascii_mode | |
reset: 0 | |
states: | |
- "中文" | |
- "西文" | |
- name: full_shape | |
reset: 0 | |
states: | |
- "半角" | |
- "全角" | |
- name: simplification | |
reset: 1 | |
states: | |
- "漢字" | |
- "汉字" | |
# noop:不切換(Control鍵的默認行爲) | |
# inline_ascii:當已輸入編碼時,不上屏、內聯式編輯西文,回車上屏後復位爲中文模式(左Shift默認行爲) | |
# commit_text:當已輸入編碼時,文字上屏並切換到西文(右Shift默認行爲) | |
# commit_code:當已輸入編碼時,編碼上屏並切換到西文 | |
# 後三種切換方式,在無編碼時使用,效果一致,都是在中/西文之間切換。 | |
ascii_composer: | |
switch_key: | |
Control_L: commit_code | |
Control_R: noop | |
Shift_L: noop | |
Shift_R: noop | |
switcher: | |
caption: "〔方案選單〕" | |
hotkeys: | |
- "Control+grave" | |
save_options: | |
- full_shape | |
- simplification |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment