Skip to content

Instantly share code, notes, and snippets.

@fjyuu
Last active August 6, 2017 09:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjyuu/6127360c2a587812114f408e20780410 to your computer and use it in GitHub Desktop.
Save fjyuu/6127360c2a587812114f408e20780410 to your computer and use it in GitHub Desktop.
Karabiner-Elements設定(~/.config/karabiner/assets/complex_modifications/ に置く)
{
"title": "Personal rules (@fjyuu)",
"rules": [
{
"description": "Change spacebar to left_shift. (Post spacebar if pressed alone)",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift"
}
],
"to_if_alone": [
{
"key_code": "spacebar"
}
],
"type": "basic"
}
]
},
{
"description": "Change quote to right_option. (Post quote if pressed alone)",
"manipulators": [
{
"from": {
"key_code": "quote",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_option"
}
],
"to_if_alone": [
{
"key_code": "quote"
}
],
"type": "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment