Skip to content

Instantly share code, notes, and snippets.

@KeenS
Created May 20, 2015 02:19
Show Gist options
  • Save KeenS/5fa238130218d341224b to your computer and use it in GitHub Desktop.
Save KeenS/5fa238130218d341224b to your computer and use it in GitHub Desktop.
###
### keymap.conf
###
# ======================================================================
# event section
# ======================================================================
SKK_JMODE keycode::0x68
SKK_ENTER group::hex::0x03,0x0a,0x0d||ctrl::m
SKK_CANCEL ctrl::g||hex::0x1b
SKK_BACKSPACE hex::0x08||ctrl::h
SKK_DELETE hex::0x7f||ctrl::d
SKK_TAB hex::0x09||ctrl::i
SKK_PASTE ctrl::y
SKK_LEFT hex::0x1c||ctrl::b||keycode::7b
SKK_RIGHT hex::0x1d||ctrl::f||keycode::7c
SKK_UP hex::0x1e||ctrl::a||keycode::7e
SKK_DOWN hex::0x1f||ctrl::e||keycode::7d
SKK_PING ctrl::l
SKK_UNDO ctrl::/
# ======================================================================
# attribute section(for SKK_CHAR)
# ======================================================================
ToggleKana q
ToggleJisx0201Kana ctrl::q
SwitchToAscii l
SwitchToJisx0208Latin L
EnterAbbrev /
EnterJapanese Q
NextCompletion .
PrevCompletion ,
NextCandidate hex::0x20||ctrl::n
PrevCandidate x||ctrl::p
RemoveTrigger X
UpperCases group::A-K,M-P,R-Z
Direct group::keycode::0x41,0x43,0x45,0x4b,0x4e,0x51-0x59,0x5b,0x5c,0x5f
InputChars group::hex::0x20-0x7e
CompConversion alt::hex::0x20||shift::hex::0x20
# ======================================================================
# handle option
# ======================================================================
AlwaysHandled group::keycode::0x66,0x68
PseudoHandled ctrl::l||hex::0x1b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment