写在前边
- 只看这篇博文是看不懂的, 请看视频:
https://www.bilibili.com/video/BV1FK4y1Q7Ma/
- 配置文件已上传:
https://gitee.com/blog_quotes/rime-wubi-setting.git
环境
现在的时间:2021-02-07
操作系统:macOS Catalina 10.15.7
鼠须管版本:0.15.0
安装
卸载原先的输入法
安装Squirrel
安装五笔库
git clone https://github.com/rime/rime-wubi.git
~/Library/Rime
- 创建文件
default.custom.yaml
# default.custom.yaml patch: schema_list: - schema: wubi86
关闭ascii模式
# squirrel.custom.yaml
patch:
app_options:
co.zeit.hyper:
ascii_mode: false
com.alfredapp.Alfred:
ascii_mode: false
com.apple.Spotlight:
ascii_mode: false
com.apple.Terminal:
ascii_mode: false
no_inline: true
com.apple.dt.Xcode:
ascii_mode: false
com.barebones.textwrangler:
ascii_mode: false
com.blacktree.Quicksilver:
ascii_mode: false
com.github.atom:
ascii_mode: false
com.google.Chrome:
inline: true
com.googlecode.iterm2:
ascii_mode: false
no_inline: true
com.macromates.TextMate.preview:
ascii_mode: false
com.microsoft.VSCode:
ascii_mode: false
"com.runningwithcrayons.Alfred-2":
ascii_mode: false
com.sublimetext.2:
ascii_mode: false
org.gnu.Aquamacs:
ascii_mode: false
org.gnu.Emacs:
ascii_mode: false
no_inline: true
org.vim.MacVim:
ascii_mode: false
no_inline: true
vim_mode: true
ru.keepcoder.Telegram:
inline: true
修改符号映射
# wubi86.custom.yaml
patch:
punctuator:
full_shape:
" ": {commit: " "}
"!": {commit: "!"}
"\"": {pair: ["“", "”"]}
"#": ["#", "⌘"]
"$": ["¥", "$", "€", "£", "¥", "¢", "¤", "₩"]
"%": ["%", "°", "℃"]
"&": "&"
"'": {pair: ["‘", "’"]}
"(": "("
")": ")"
"*": ["*", "·", "・", "×", "※", "❂"]
"+": "+"
",": {commit: ","}
"-": "-"
.: {commit: "。"}
"/": ["/", "÷"]
":": {commit: ":"}
";": {commit: ";"}
"<": ["《", "〈", "«", "‹"]
"=": ["=", "々", "〃"]
">": ["》", "〉", "»", "›"]
"?": {commit: "?"}
"@": ["@", "☯"]
"[": ["「", "【", "〔", "[", "〚", "〘"]
"\\": ["、", "\"]
"]": ["」", "】", "〕", "]", "〛", "〙"]
"^": {commit: "……"}
_: "——"
"`": "`"
"{": ["『", "〖", "{"]
"|": ["·", "|", "§", "¦"]
"}": ["』", "〗", "}"]
"~": "~"
half_shape:
"!": {commit: "!"}
"\"": {pair: ["“", "”"]}
"#": ["#", "№"]
"$": ["¥", "$", "€", "£", "¥", "¢", "¤", "₩"]
"%": ["%", "%", "°", "℃", "‰", "‱", "℉", "℅", "℆", "℀", "℁", "⅍"]
"&": "&"
"'": {pair: ["‘", "’"]}
"(": "("
")": ")"
"*": ["*", "*", "·", "・", "×", "※", "❂", "⁂", "☮", "☯", "☣"]
"+": "+"
",": {commit: ","}
"-": "-"
.: {commit: "。"}
"/": ["、", "、", "/", "/", "÷"]
":": {commit: ":"}
";": {commit: ";"}
"<": ["《", "〈", "«", "‹", "˂", "˱"]
"=": ["=", "々", "〃"]
">": ["》", "〉", "»", "›", "˃", "˲"]
"?": {commit: "?"}
"@": ["@", "©", "®", "℗"]
"[": ["「", "【", "〔", "[", "〚", "〘"]
"\\": ["、", "\\", "\"]
"]": ["」", "】", "〕", "]", "〛", "〙"]
"^": {commit: "……"}
_: "——"
"`": "`"
"{": ["『", "〖", "{"]
"|": ["·", "・", "|", "|", "§", "¦", "‖", "︴"]
"}": ["』", "〗", "}"]
"~": ["~", "~", "˜", "˷", "ⸯ", "≈", "≋", "≃", "≅", "≇", "∽", "⋍", "≌", "﹏", "﹋", "﹌", "︴"]
symbols:
"/0": ["〇", "零", "₀", "⁰", "⓪", "⓿", "0"]
"/1": ["一", "壹", "₁", "¹", "Ⅰ", "ⅰ", "①", "➀", "❶", "➊", "⓵", "⑴", "⒈", "1", "㊀", "㈠", "弌", "壱", "幺", "㆒"]
"/10": ["十", "拾", "₁₀", "¹⁰", "Ⅹ", "ⅹ", "⑩", "➉", "❿", "➓", "⓾", "⑽", "⒑", "10", "㊉", "㈩", "什"]
"/2": ["二", "貳", "₂", "²", "Ⅱ", "ⅱ", "②", "➁", "❷", "➋", "⓶", "⑵", "⒉", "2", "㊁", "㈡", "弍", "弐", "貮", "㒃", "㒳", "兩", "倆", "㆓"]
"/3": ["三", "叄", "₃", "³", "Ⅲ", "ⅲ", "③", "➂", "❸", "➌", "⓷", "⑶", "⒊", "3", "㊂", "㈢", "參", "参", "叁", "弎", "仨", "㆔"]
"/4": ["四", "肆", "₄", "⁴", "Ⅳ", "ⅳ", "④", "➃", "❹", "➍", "⓸", "⑷", "⒋", "4", "㊃", "㈣", "亖"]
"/5": ["五", "伍", "₅", "⁵", "Ⅴ", "ⅴ", "⑤", "➄", "❺", "➎", "⓹", "⑸", "⒌", "5", "㊄", "㈤", "㐅", "㠪", "𠄡"]
"/6": ["六", "陸", "₆", "⁶", "Ⅵ", "ⅵ", "⑥", "➅", "❻", "➏", "⓺", "⑹", "⒍", "6", "㊅", "㈥", "ↅ"]
"/7": ["七", "柒", "₇", "⁷", "Ⅶ", "ⅶ", "⑦", "➆", "❼", "➐", "⓻", "⑺", "⒎", "7", "㊆", "㈦", "漆"]
"/8": ["八", "捌", "₈", "⁸", "Ⅷ", "ⅷ", "⑧", "➇", "❽", "➑", "⓼", "⑻", "⒏", "8", "㊇", "㈧"]
"/9": ["九", "玖", "₉", "⁹", "Ⅸ", "ⅸ", "⑨", "➈", "❾", "➒", "⓽", "⑼", "⒐", "9", "㊈", "㈨"]
"/jt": ["↑", "↓", "←", "→", "↕", "↔", "↖", "↗", "↙", "↘", "↚", "↛", "↮", "↜", "↝", "↞", "↟", "↠", "↡", "↢", "↣", "↤", "↥", "↦", "↧", "↨", "↩", "↪", "↫", "↬", "↭", "↯", "↰", "↱", "↲", "↳", "↴", "↵", "↶", "↷", "↸", "↹", "↺", "↻", "↼", "↽", "↾", "↿", "⇀", "⇁", "⇂", "⇃", "⇄", "⇅", "⇆", "⇇", "⇈", "⇉", "⇊", "⇋", "⇌", "⇐", "⇍", "⇑", "⇒", "⇏", "⇓", "⇔", "⇎", "⇕", "⇖", "⇗", "⇘", "⇙", "⇚", "⇛", "⇜", "⇝", "⇞", "⇟", "⇠", "⇡", "⇢", "⇣", "⇤", "⇥", "⇦", "⇧", "⇨", "⇩", "⇪", "⇫", "⇬", "⇭", "⇮", "⇯", "⇰", "⇱", "⇲", "⇳", "⇴", "⇵", "⇶", "⇷", "⇸", "⇹", "⇺", "⇻", "⇼", "⇽", "➔", "➘", "➙", "➚", "➛", "➜", "➝", "➞", "➟", "➠", "➡", "➢", "➣", "➤", "➥", "➦", "➧", "➨", "➩", "➪", "➫", "➬", "➭", "➮", "➱", "➲", "➳", "➴", "➵", "➶", "➷", "➸", "➹", "➺", "➻", "➼", "➽", "➾"]