Skip to content

Instantly share code, notes, and snippets.

@bao3
Forked from janlay/wubi86.custom.yaml
Created March 31, 2016 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bao3/fed9330c0faa0f6a3f33b2bc1714e1ac to your computer and use it in GitHub Desktop.
Save bao3/fed9330c0faa0f6a3f33b2bc1714e1ac to your computer and use it in GitHub Desktop.
My custom Squirrel config especially created for Wubi86 users.
patch:
switches:
- name: ascii_mode
reset: 0
states: [中文, 英文]
- name: full_shape
states: [半角, 全角]
- name: extended_charset
states: [通用, GBK]
- name: simplification
reset: 0
states: [漢字, 汉字]
ascii_composer:
switch_key:
Shift_L: commit_code
Shift_R: commit_code
translator:
enable_user_dict: true
enable_sentence: false
dictionary: wubi86.extended
speller:
max_code_length: 4
auto_select: true
auto_select_unique_candidate: true
recognizer/patterns/punct: "^/([a-z]+|[0-9]0?)$"
punctuator:
import_preset: symbols
symbols:
"/fs": [½, ‰, ¼, ⅓, ⅔, ¾]
"/bq": [😂, 😅, ☺️, 😱, 😭, 😇, 💊, 💯, 👍🏿, 🙈, 💩, 😈]
"/key": [⌘, ⌥, ⇧, ⌃, ⎋, ⇪, ↩, , ↑, ↓, ←, →, ↖, ↘, ⇟, ⇞]
half_shape:
"#": "#"
"`": "`"
"~": "~"
"*": "*"
"/": ["/", "÷"]
'\': ["、", '\']
"@": ["@", "·"]
"'": {pair: ["「", "」"]}
"[": ["【", "["]
"]": ["】", "]"]
"$": ["¥", "$", "€", "£", "¢", "¥"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment