-
-
Save staticor/b1d6731d829dfcc6d951 to your computer and use it in GitHub Desktop.
This file contains 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
# default.custom.yaml | |
# save it to: | |
# ~/.config/ibus/rime (linux) | |
# ~/Library/Rime (macos) | |
# %APPDATA%\Rime (windows) | |
patch: | |
# patch: 这一行 不可重复. | |
"menu/page_size": 7 # 设置候选字数量 个人喜好 7 | |
schema_list: | |
- schema: wubi_pinyin # 五笔拼音混合輸入 | |
- shcema: luna_pinyin_simp # luna 拼音 | |
- schema: emoji | |
#下面定义“输入选单”的切换控制 | |
switcher: | |
abbreviate_options: true | |
caption: "〔切换〕" #把默认的“方案選單”修改为了“切换”。 | |
fold_options: true | |
hotkeys: | |
- "Control+s" #默认方案 | |
- "Command+Shift+grave" #默认方案 | |
option_list_separator: "/" #以下都为默认custom.yaml文件的默认配置,copy过来就可以。 | |
save_options: | |
- full_shape | |
- ascii_punct | |
- simplification | |
- extended_charset | |
#中英文切换的方式 | |
ascii_composer/good_old_caps_lock: true | |
ascii_composer/switch_key: | |
Shift_L: commit_text | |
Shift_R: noop | |
Control_L: commit_code | |
Control_R: inline_ascii | |
key_binder: | |
bindings: | |
- {accept: "Control+p", send: Up, when: composing} | |
- {accept: "Control+n", send: Down, when: composing} | |
- {accept: "Control+b", send: Left, when: composing} | |
- {accept: "Control+f", send: Right, when: composing} | |
- {accept: "Control+a", send: Home, when: composing} | |
- {accept: "Control+e", send: End, when: composing} | |
- {accept: "Control+d", send: Delete, when: composing} | |
- {accept: "Control+k", send: "Shift+Delete", when: composing} | |
- {accept: "Control+h", send: BackSpace, when: composing} | |
- {accept: "Control+g", send: Escape, when: composing} | |
- {accept: "Control+bracketleft", send: Escape, when: composing} | |
- {accept: "Alt+v", send: Page_Up, when: composing} | |
- {accept: "Control+v", send: Page_Down, when: composing} | |
- {accept: ISO_Left_Tab, send: Page_Up, when: composing} | |
- {accept: "Shift+Tab", send: Page_Up, when: composing} | |
- {accept: Tab, send: Page_Down, when: composing} | |
- {accept: minus, send: Page_Up, when: has_menu} | |
- {accept: equal, send: Page_Down, when: has_menu} | |
- {accept: comma, send: Page_Up, when: paging} | |
- {accept: period, send: Page_Down, when: has_menu} | |
- {accept: "Control+Shift+1", select: .next, when: always} | |
- {accept: "Control+Shift+2", toggle: ascii_mode, when: always} | |
- {accept: "Control+Shift+3", toggle: full_shape, when: always} | |
- {accept: "Control+Shift+4", toggle: simplification, when: always} | |
- {accept: "Control+Shift+5", toggle: extended_charset, when: always} | |
- {accept: "Control+Shift+exclam", select: .next, when: always} | |
- {accept: "Control+Shift+at", toggle: ascii_mode, when: always} | |
- {accept: "Control+Shift+numbersign", toggle: full_shape, when: always} | |
- {accept: "Control+Shift+dollar", toggle: simplification, when: always} | |
- {accept: "Control+Shift+percent", toggle: extended_charset, when: always} | |
- {accept: "Shift+space", toggle: full_shape, when: always} | |
- {accept: "Control+period", toggle: ascii_punct, when: always} | |
punctuator: | |
full_shape: | |
" ": {commit: " "} | |
"!": {commit: "!"} | |
"\"": {pair: ["“", "”"]} | |
"#": ["#", "⌘"] | |
"$": ["¥", "$", "€", "£", "¥", "¢", "¤"] | |
"%": ["%", "°", "℃"] | |
"&": "&" | |
"'": {pair: ["‘", "’"]} | |
"(": "(" | |
")": ")" | |
"*": ["*", "·", "・", "×", "※", "❂"] | |
"+": "+" | |
",": {commit: ","} | |
"-": "-" | |
.: {commit: "。"} | |
"/": ["/", "÷"] | |
":": {commit: ":"} | |
";": {commit: ";"} | |
"<": ["《", "〈", "«", "‹"] | |
"=": "=" | |
">": ["》", "〉", "»", "›"] | |
"?": {commit: "?"} | |
"@": ["@", "☯"] | |
"[": ["「", "【", "〔", "["] | |
"\\": ["、", "\"] | |
"]": ["」", "】", "〕", "]"] | |
"^": {commit: "……"} | |
_: "——" | |
"`": "`" | |
"{": ["『", "〖", "{"] | |
"|": ["·", "|", "§", "¦"] | |
"}": ["』", "〗", "}"] | |
"~": "~" | |
half_shape: | |
"!": {commit: "!"} | |
"\"": {pair: ["“", "”"]} | |
"#": "#" | |
"$": ["¥", "$", "€", "£", "¥", "¢", "¤"] | |
"%": ["%", "%", "°", "℃"] | |
"&": "&" | |
"'": {pair: ["‘", "’"]} | |
"(": "(" | |
")": ")" | |
"*": ["*", "*", "·", "・", "×", "※", "❂"] | |
"+": "+" | |
",": {commit: ","} | |
"-": "-" | |
.: {commit: "。"} | |
"/": ["、", "/", "/", "÷"] | |
":": {commit: ":"} | |
";": {commit: ";"} | |
"<": ["《", "〈", "«", "‹"] | |
"=": "=" | |
">": ["》", "〉", "»", "›"] | |
"?": {commit: "?"} | |
"@": "@" | |
"[": ["「", "【", "〔", "["] | |
"\\": ["、", "\\", "\"] | |
"]": ["」", "】", "〕", "]"] | |
"^": {commit: "……"} | |
_: "——" | |
"`": "`" | |
"{": ["『", "〖", "{"] | |
"|": ["·", "|", "|", "§", "¦"] | |
"}": ["』", "〗", "}"] | |
"~": ["~", "~"] | |
recognizer: | |
patterns: | |
email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$" | |
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$" | |
url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment