change: Moved some of the command groups around to make more sense
This commit is contained in:
@@ -3,25 +3,179 @@
|
|||||||
"maintainers": ["nnovak"],
|
"maintainers": ["nnovak"],
|
||||||
"rules": [
|
"rules": [
|
||||||
{
|
{
|
||||||
"description": "Remap Control+l to Command+l unless in the terminal",
|
"description": "Remap Ctrl+W to Cmd+W",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"type": "frontmost_application_unless",
|
|
||||||
"bundle_identifiers": ["^net\\.kovidgoyal\\.kitty$"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "l",
|
"key_code": "w",
|
||||||
"modifiers": {
|
"modifiers": {
|
||||||
"mandatory": ["control"]
|
"mandatory": ["control"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"to": [
|
"to": [
|
||||||
{
|
{
|
||||||
"key_code": "l",
|
"key_code": "w",
|
||||||
"modifiers": ["command"]
|
"modifiers": ["left_command"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Remap Ctrl+T to Cmd+T",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "t",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "t",
|
||||||
|
"modifiers": ["left_command"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Remap Ctrl+F to Cmd+F",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "f",
|
||||||
|
"modifiers": ["left_command"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Remap Ctrl+R to Cmd+R",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "r",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "r",
|
||||||
|
"modifiers": ["left_command"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Remap Ctrl+A to Cmd+A",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "a",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "a",
|
||||||
|
"modifiers": ["left_command"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Remap Ctrl+S to Cmd+S",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "s",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "s",
|
||||||
|
"modifiers": ["left_command"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Remap Ctrl+Slash to Cmd+Slash",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "slash",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "slash",
|
||||||
|
"modifiers": ["left_command"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Remap Ctrl+X to Cmd+X",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "x",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "x",
|
||||||
|
"modifiers": ["left_command"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Remap Ctrl+Z to Cmd+Z",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "z",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "z",
|
||||||
|
"modifiers": ["left_command"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
|
|||||||
+26
@@ -54,6 +54,32 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"description": "Remap Control+l to Command+l unless in the terminal",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"type": "frontmost_application_unless",
|
||||||
|
"bundle_identifiers": ["^net\\.kovidgoyal\\.kitty$"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "l",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "l",
|
||||||
|
"modifiers": ["command"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"description": "Remap Alt+Left/Right unless in terminal",
|
"description": "Remap Alt+Left/Right unless in terminal",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
|
|||||||
@@ -2,101 +2,6 @@
|
|||||||
"title": "More Normal Keybindings",
|
"title": "More Normal Keybindings",
|
||||||
"maintainers": ["nnovak"],
|
"maintainers": ["nnovak"],
|
||||||
"rules": [
|
"rules": [
|
||||||
{
|
|
||||||
"description": "Basic browser keybindings",
|
|
||||||
"manipulators": [
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "w",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "w",
|
|
||||||
"modifiers": ["left_command"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "t",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "t",
|
|
||||||
"modifiers": ["left_command"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "f",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "f",
|
|
||||||
"modifiers": ["left_command"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "r",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "r",
|
|
||||||
"modifiers": ["left_command"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "t",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": ["control", "shift"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "t",
|
|
||||||
"modifiers": ["left_command", "shift"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "a",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "a",
|
|
||||||
"modifiers": ["left_command"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "Hold down the super key to show open windows",
|
"description": "Hold down the super key to show open windows",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
@@ -259,71 +164,6 @@
|
|||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Simple Command to Control Mappings",
|
|
||||||
"manipulators": [
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "s",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "s",
|
|
||||||
"modifiers": ["command"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "slash",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "slash",
|
|
||||||
"modifiers": ["command"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "x",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "x",
|
|
||||||
"modifiers": ["command"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "z",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "z",
|
|
||||||
"modifiers": ["command"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user