Skip to content

Instantly share code, notes, and snippets.

@EmingK
Created April 21, 2018 08:56
Show Gist options
  • Save EmingK/38e6728bbcbd34ac8d4da1fa3ff12b33 to your computer and use it in GitHub Desktop.
Save EmingK/38e6728bbcbd34ac8d4da1fa3ff12b33 to your computer and use it in GitHub Desktop.
Rime wubi config for hardware colemak keyboard layout
patch:
key_binder:
import_preset: default
bindings:
- {accept: f, send: e, when: always}
- {accept: p, send: r, when: always}
- {accept: g, send: t, when: always}
- {accept: j, send: y, when: always}
- {accept: l, send: u, when: always}
- {accept: u, send: i, when: always}
- {accept: y, send: o, when: always}
- {accept: ";", send: p, when: always}
- {accept: r, send: s, when: always}
- {accept: s, send: d, when: always}
- {accept: t, send: f, when: always}
- {accept: d, send: g, when: always}
- {accept: n, send: j, when: always}
- {accept: e, send: k, when: always}
- {accept: i, send: l, when: always}
- {accept: o, send: ";", when: always}
- {accept: k, send: n, when: always}
translator/preedit_format:
- xlit/gfdsahjklmtrewqyuiopnbvcx/王土大木工目日口田山禾白月人金言立水火之已子女又纟/
@chickendude
Copy link

Thank you so much for this!

One little note, if you add this line (to convert QWERTY to Colemak):

  reverse_lookup/comment_format:
    - xlit/qwertyuiopasdfghjkl;zxcvbnm/qwfpgjluy;arstdhneiozxcvbkm/

... the hints when using "z" will also show up using the proper Colemak keys.

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