Skip to content

Instantly share code, notes, and snippets.

@yuhangch
Created November 8, 2022 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuhangch/0a424ef9f38acf6ffba586bc3b86ea27 to your computer and use it in GitHub Desktop.
Save yuhangch/0a424ef9f38acf6ffba586bc3b86ea27 to your computer and use it in GitHub Desktop.
option + qwertyuiop to !@#$%^&*()
{
"title": "optional-symbol-replace",
"rules": [
{
"description": "option + qwertyuiop to shift + 1234567890",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "q",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"repeat": true,
"key_code": "1",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "w",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"repeat": true,
"key_code": "2",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "e",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"repeat": true,
"key_code": "3",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "r",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"repeat": true,
"key_code": "4",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "t",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"repeat": true,
"key_code": "5",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "y",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"repeat": true,
"key_code": "6",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"repeat": true,
"key_code": "7",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"repeat": true,
"key_code": "8",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "o",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"repeat": true,
"key_code": "9",
"modifiers": [
"left_shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"repeat": true,
"key_code": "0",
"modifiers": [
"left_shift"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment