Skip to content

Instantly share code, notes, and snippets.

@drei01
Last active June 21, 2018 14:56
Show Gist options
  • Save drei01/82175ba90e908f0468ed0660421eba94 to your computer and use it in GitHub Desktop.
Save drei01/82175ba90e908f0468ed0660421eba94 to your computer and use it in GitHub Desktop.
{
"title": "Exchange numbers and symbols",
"rules": [
{
"description": "Switch @ and double quote symbols",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "2",
"modifiers": {
"mandatory": [
"left_shift"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "quote",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "quote",
"modifiers": {
"mandatory": [
"left_shift"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "2",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "2",
"modifiers": {
"mandatory": [
"right_shift"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "quote",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "quote",
"modifiers": {
"mandatory": [
"right_shift"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "2",
"modifiers": [
"left_shift"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment