my personal dotfiles managed by dotbot, zinit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

502 lines
11 KiB

{
"title": "CapsLock Plus",
"maintainers": ["BryanHoo"],
"homepage": "https://github.com/BryanHoo/Capslock-Plus",
"import_url": "karabiner://karabiner/assets/complex_modifications/import?url=https://raw.githubusercontent.com/BryanHoo/Capslock-Plus/master/capslock-plus.json",
"rules": [
{
"description": "CapsLock to Hyper/Escape",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "right_shift",
"modifiers": ["right_command", "right_control", "right_option"]
}
],
"to_if_alone": [
{
"key_code": "escape"
}
]
}
]
},
{
"description": "Hyper Cursor navigation",
"manipulators": [
{
"from": {
"key_code": "e",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "d",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "s",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "f",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "semicolon",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "y",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "b",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "a",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "g",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_option"]
}
],
"type": "basic"
}
]
},
{
"description": "Hyper selected Navigation",
"manipulators": [
{
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_command", "left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "o",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_command", "left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_option", "left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "n",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_option", "left_shift"]
}
],
"type": "basic"
}
]
},
{
"description": "Hyper More",
"manipulators": [
{
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "return_or_enter",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "return_or_enter",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "slash",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "tab",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "t",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"shell_command": "open -a 'iTerm'"
}
],
"type": "basic"
},
{
"from": {
"key_code": "m",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"shell_command": "open -a 'finder'"
}
],
"type": "basic"
}
]
}
]
}