Created
April 8, 2012 03:44
-
-
Save lotem/2334409 to your computer and use it in GitHub Desktop.
Rime 別樣設定,使用西文標點、[ ] 鍵換頁
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
# 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 | |
# (Windows) "%APPDATA%\Rime\alternative.yaml" | |
# | |
# edit <SCHEMA_ID>.custom.yaml: | |
# >> patch: | |
# >> 'punctuator/import_preset': alternative | |
# >> 'key_binder/import_preset': alternative | |
# | |
# for detailed explanation, refer to: | |
# http://code.google.com/p/rimeime/wiki/CustomizationGuide#%E4%BD%BF%E7%94%A8%E5%85%A8%E5%A5%97%E8%A5%BF%E6%96%87%E6%A8%99%E9%BB%9E | |
config_version: "0.3" | |
punctuator: | |
full_shape: | |
" " : { commit: " " } | |
"," : { commit: , } | |
"." : { commit: 。 } | |
"<" : [ 《, 〈, «, ‹ ] | |
">" : [ 》, 〉, », › ] | |
"/" : [ 、, /, "/", ÷ ] | |
"?" : { commit: ? } | |
";" : { commit: ; } | |
":" : : | |
"'" : { pair: [ "‘", "’" ] } | |
"\"" : { pair: [ "“", "”" ] } | |
"\\" : [ 、, \, "\\" ] | |
"|" : [ ・, |, "|", "§", "¦" ] | |
"`" : [ `, "`" ] | |
"~" : [ 〜, "~", ~, 〰 ] | |
"!" : { commit: ! } | |
"@" : [ @, "@", ☯ ] | |
"#" : [ #, "#", ⌘ ] | |
"%" : [ %, "%", "°", "℃" ] | |
"$" : [ ¥, "$", "€", "£", "¥", "¢", "¤" ] | |
"^" : { commit: …… } | |
"&" : [ &, "&" ] | |
"*" : [ *, "*", ・, ×, ※, ❂, · ] | |
"(" : ( | |
")" : ) | |
"-" : [ -, "-" ] | |
"_" : —— | |
"+" : [ +, "+" ] | |
"=" : [ =, "=" ] | |
"[" : [ 「, 【, 〔, [ ] | |
"]" : [ 」, 】, 〕, ] ] | |
"{" : [ 『, 〖, { ] | |
"}" : [ 』, 〗, } ] | |
half_shape: | |
"," : { commit: "," } | |
"." : { commit: "." } | |
"<" : "<" | |
">" : ">" | |
"/" : "/" | |
"?" : { commit: "?" } | |
";" : { commit: ";" } | |
":" : { commit: ":" } | |
"'" : "'" | |
"\"" : "\"" | |
"\\" : "\\" | |
"|" : "|" | |
"`" : "`" | |
"~" : "~" | |
"!" : { commit: "!" } | |
"@" : "@" | |
"#" : "#" | |
"%" : "%" | |
"$" : "$" | |
"^" : "^" | |
"&" : "&" | |
"*" : "*" | |
"(" : "(" | |
")" : ")" | |
"-" : "-" | |
"_" : "_" | |
"+" : "+" | |
"=" : "=" | |
"[" : "[" | |
"]" : "]" | |
"{" : "{" | |
"}" : "}" | |
key_binder: | |
bindings: | |
# commonly used paging keys | |
- { 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: has_menu, accept: minus, send: Page_Up } | |
- { when: has_menu, accept: equal, send: Page_Down } | |
- { when: paging, accept: comma, send: Page_Up } | |
- { when: has_menu, accept: period, send: Page_Down } | |
- { when: paging, accept: bracketleft, send: Page_Up } | |
- { when: has_menu, accept: bracketright, send: Page_Down } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
2023.10月了, 我安装的是weasel,版本是0.15.0.0 按上面的方法。
保存alternative.yaml文件到c:/user/...下面。
修改wubi_pinyin.schema.yaml
修改版本0.3为0.15.0.0
点击“重新部署”。
没用。
我的文件中没有
patch这个字样, 因此下一行punctuator就没有缩两格的必要。
我的安装的输入法中也没有“方案选单”这个东西。