Skip to content

Instantly share code, notes, and snippets.

@rbatty19
Last active April 24, 2022 19:20
Show Gist options
  • Save rbatty19/dab2f7c8f6ec93441527466159b24f59 to your computer and use it in GitHub Desktop.
Save rbatty19/dab2f7c8f6ec93441527466159b24f59 to your computer and use it in GitHub Desktop.
Karabiner Mac OS (@rbatty custom)
{
"title": "@rbatty custom keys",
"rules": [
{
"description": "Command+Shift+Q=@",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "q",
"modifiers": {
"mandatory": [
"command",
"shift"
]
}
},
"to": [
{
"key_code": "q",
"modifiers": [
"left_alt"
],
"repeat": true
}
]
}
]
},
{
"description": "Shift + Command + 2 = @",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"left_gui",
"left_shift"
]
},
"key_code": "2"
},
"to": [
{
"repeat": false,
"key_code": "q",
"modifiers": [
"left_alt"
]
}
]
}
]
}
]
}
https://genesy.github.io/karabiner-complex-rules-generator/#eyJ0aXRsZSI6IkRpc2FibGUgQ29tbWFuZCtTaGlmdCtRIiwicnVsZXMiOlt7ImRlc2NyaXB0aW9uIjoiRGlzYWJsZSBDb21tYW5kK1NoaWZ0K1EiLCJtYW5pcHVsYXRvcnMiOlt7InR5cGUiOiJiYXNpYyIsImRlc2NyaXB0aW9uIjoiIiwiZnJvbSI6eyJrZXlfY29kZSI6InEiLCJtb2RpZmllcnMiOnsibWFuZGF0b3J5IjpbImNvbW1hbmQiLCJzaGlmdCJdfX0sInRvIjpbeyJrZXlfY29kZSI6InEiLCJtb2RpZmllcnMiOlsibGVmdF9hbHQiXSwicmVwZWF0Ijp0cnVlfV19XX1dfQ==

Import my JSON config

Doc From: KE-complex_modifications

image

Make a link karabiner://karabiner/assets/complex_modifications/import?url=<JSON_URL>.

Real example: karabiner://karabiner/assets/complex_modifications/import?url=https://ke-complex-modifications.pqrs.org/json/command_q.json

https://genesy.github.io/karabiner-complex-rules-generator/#eyJ0aXRsZSI6IkByYmF0dHkgY3VzdG9tIGtleXMiLCJydWxlcyI6W3siZGVzY3JpcHRpb24iOiJTaGlmdCArIENvbW1hbmQgKyAyID0gQCIsIm1hbmlwdWxhdG9ycyI6W3sidHlwZSI6ImJhc2ljIiwiZnJvbSI6eyJtb2RpZmllcnMiOnsibWFuZGF0b3J5IjpbImxlZnRfZ3VpIiwibGVmdF9zaGlmdCJdfSwia2V5X2NvZGUiOiIyIn0sInRvIjpbeyJyZXBlYXQiOmZhbHNlLCJrZXlfY29kZSI6InEiLCJtb2RpZmllcnMiOlsibGVmdF9hbHQiXX1dfV19XX0=
{
"title": "@rbatty custom keys",
"rules": [
{
"description": "Shift + Command + 2 = @",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"left_gui",
"left_shift"
]
},
"key_code": "2"
},
"to": [
{
"repeat": false,
"key_code": "q",
"modifiers": [
"left_alt"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment