Skip to content

Instantly share code, notes, and snippets.

@Knovour
Created February 13, 2024 00:09
Show Gist options
  • Save Knovour/350cabad17d51adaa5085b14ff825f36 to your computer and use it in GitHub Desktop.
Save Knovour/350cabad17d51adaa5085b14ff825f36 to your computer and use it in GitHub Desktop.
RIME 注音輸入法 + Dvorak 支援,包含標點符號位置
patch:
punctuator/half_shape:
"!": {commit: "!"}
"\"": {pair: ["“", "”"]}
"#": "#"
"$": ["¥", "$", "€", "£", "¥", "¢", "¤"]
"%": ["%", "%", "°", "℃"]
"&": "&"
"(": "("
")": ")"
"*": ["*", "*", "·", "・", "×", "※", "❂"]
"S": [":", ";"]
"W": {commit: ","}
"V": {commit: "。"}
"Z": ["?", "/", "/", "÷"]
"@": "@"
"/": ["「", "【", "《", "〔", "["]
"\\": ["\\", "\"]
"-": "、"
"=": ["」", "】", "》", "〕", "]"]
"^": {commit: "……"}
_: ["——", "-", "-"]
"`": "`"
"?": ["『", "〖", "〈", "{"]
"|": ["·", "|", "|", "§", "¦"]
"+": ["』", "〗", "〉", "}"]
"~": "~"
speller/algebra:
- "erase/^xx$/"
- "xform/^m(\\d)$/mu$1/"
- "xform/^r5$/er5/"
- "xform/iu/iou/"
- "xform/ui/uei/"
- "xform/ong/ung/"
- "xform/^yi?/i/"
- "xform/^wu?/u/"
- "xform/iu/v/"
- "xform/^([jqx])u/$1v/"
- "xform/([iuv])n/$1en/"
- "xform/^zhi?/Z/"
- "xform/^chi?/C/"
- "xform/^shi?/S/"
- "xform/^([zcsr])i/$1/"
- "xform/ai/A/"
- "xform/ei/I/"
- "xform/ao/O/"
- "xform/ou/U/"
- "xform/ang/K/"
- "xform/eng/G/"
- "xform/an/M/"
- "xform/en/N/"
- "xform/er/R/"
- "xform/eh/E/"
- "xform/([iv])e/$1E/"
- "abbrev/^([bpmfdtnlgkhjqxZCSrzcs]).+$/$1/"
- "abbrev/^([A-Za-z]+)\\d$/$1/"
- "abbrev/^([bpmfdtnlgkhjqxZCSrzcs]).+(\\d)$/$1$2/"
- "xlit|bpmfdtnlgkhjqxZCSrzcsiuvaoeEAIOUMNKGR12345|1'a;2,oq.ejpuk5yixfdbghm8ctw9rnv0lsz[ 6347|"
speller/alphabet: "1'a;2,oq.ejpuk5yixfdbghm8ctw9rnv0lsz[ 6347"
speller/delimiter: "-"
speller/initials: "1'a;2,oq.ejpuk5yixfdbghm8ctw9rnv0lsz["
translator/preedit_format:
- "xlit|1'a;2,oq.ejpuk5yixfdbghm8ctw9rnv0lsz[ 6347-|ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄧㄨㄩㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦˉˊˇˋ˙ |"
@Knovour
Copy link
Author

Knovour commented Feb 13, 2024

將該檔案放在 RIME 輸入法的主資料夾裡(build 資料夾外面)

修改內容

  • 將注音對應到 Dvorak 鍵盤
  • 標點符號也重新對應到右半邊
  • 頓號位置採用 Mac 位置,也就是 Enter 鍵左邊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment