Skip to content

Instantly share code, notes, and snippets.

@t3dotgg
Last active February 9, 2025 06:29
Show Gist options
  • Save t3dotgg/6e345976d34c70ae1964538ac0422c83 to your computer and use it in GitHub Desktop.
Save t3dotgg/6e345976d34c70ae1964538ac0422c83 to your computer and use it in GitHub Desktop.
{
"description": "Caps Lock to Hyper, Hyper + u/o to pageup/pagedown, IJKL to arrows, Hyper + A to Ctrl+A",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"modifiers": ["left_command", "left_control", "left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "u",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [{ "key_code": "page_up" }],
"type": "basic"
},
{
"from": {
"key_code": "o",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [{ "key_code": "page_down" }],
"type": "basic"
},
{
"from": {
"key_code": "i",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [{ "key_code": "up_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [{ "key_code": "left_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [{ "key_code": "down_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [{ "key_code": "right_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "a",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "a",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "t",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "t",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "c",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "c",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "v",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "v",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "w",
"modifiers": {
"mandatory": ["left_shift", "left_command", "left_control", "left_option"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "w",
"modifiers": ["left_command"]
}
],
"type": "basic"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment