Created
January 25, 2019 23:04
-
-
Save dpo/fdfd81f88d178f80ef34ab6d574fbe97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Tmux Prefix (rev 3)", | |
"rules": [ | |
{ | |
"description": "Tmux Prefix Mode [Tab as trigger key]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "tab", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "tab" | |
} | |
], | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "tmux_prefix_mode", | |
"value": 0 | |
} | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Tmux Prefix Mode [Fn as trigger key]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "fn", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "fn" | |
} | |
], | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "tmux_prefix_mode", | |
"value": 0 | |
} | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Tmux Prefix Mode [caps_lock as trigger key] (rev 2)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "caps_lock", | |
"hold_down_milliseconds": 500 | |
} | |
], | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "tmux_prefix_mode", | |
"value": 0 | |
} | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Tmux Prefix Mode [escape as trigger key]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "escape" | |
} | |
], | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "tmux_prefix_mode", | |
"value": 0 | |
} | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Tmux Prefix Mode [ ctrl+B as prefix ]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "a", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "a" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "b" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "c", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "c" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "d", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "d" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "e" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "f" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "g", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "g" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "h" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "i" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "j" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "k" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "l" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "m" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "n", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "n" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "o" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "p" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "q", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "q" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "r", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "r" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "s", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "s" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "t", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "t" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "u", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "u" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "v", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "v" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "w", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "w" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "x", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "x" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "y", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "y" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "z", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "z" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "0", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "0" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "1", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "1" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "2", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "2" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "3", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "3" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "4", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "4" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "5", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "5" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "6", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "6" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "7", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "7" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "8", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "8" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "9", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "9" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "comma", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "comma" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "slash", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "slash" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "period", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "period" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "semicolon" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "quote", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "quote" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "open_bracket", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "open_bracket" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "close_bracket", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "close_bracket" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Tmux Prefix Mode [ ctrl+A as prefix ]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "a", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "a" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "b" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "c", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "c" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "d", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "d" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "e" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "f" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "g", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "g" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "h" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "i" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "j" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "k" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "l" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "m" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "n", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "n" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "o" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "p" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "q", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "q" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "r", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "r" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "s", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "s" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "t", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "t" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "u", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "u" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "v", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "v" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "w", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "w" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "x", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "x" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "y", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "y" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "z", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "z" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "0", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "0" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "1", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "1" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "2", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "2" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "3", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "3" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "4", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "4" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "5", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "5" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "6", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "6" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "7", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "7" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "8", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "8" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "9", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "9" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "comma", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "comma" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "slash", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "slash" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "period", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "period" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "semicolon" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "quote", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "quote" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "open_bracket", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "open_bracket" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "close_bracket", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "close_bracket" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Tmux Prefix Mode [ ctrl+Space as prefix ]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "a", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "a" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "b" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "c", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "c" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "d", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "d" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "e" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "f" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "g", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "g" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "h" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "i" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "j" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "k" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "l" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "m" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "n", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "n" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "o" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "p" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "q", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "q" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "r", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "r" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "s", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "s" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "t", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "t" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "u", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "u" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "v", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "v" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "w", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "w" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "x", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "x" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "y", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "y" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "z", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "z" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "0", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "0" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "1", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "1" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "2", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "2" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "3", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "3" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "4", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "4" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "5", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "5" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "6", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "6" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "7", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "7" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "8", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "8" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "9", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "9" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "comma", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "comma" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "slash", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "slash" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "period", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "period" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "semicolon" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "quote", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "quote" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "open_bracket", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "open_bracket" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "close_bracket", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "close_bracket" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "variable_if", | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 50, | |
"basic.to_delayed_action_delay_milliseconds": 500, | |
"basic.to_if_alone_timeout_milliseconds": 1000, | |
"basic.to_if_held_down_threshold_milliseconds": 500 | |
}, | |
"rules": [ | |
{ | |
"description": "Tmux Prefix Mode [caps_lock as trigger key] (rev 2)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "tmux_prefix_mode", | |
"value": 1 | |
} | |
} | |
], | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "tmux_prefix_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"hold_down_milliseconds": 500, | |
"key_code": "caps_lock" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Tmux Prefix Mode [ ctrl+B as prefix ]", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "a", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "a" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "b" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "c", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "c" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "d", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "d" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "e" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "f" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "g", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "g" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "h" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "i" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "j" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "k" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "l" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "m" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "n", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "n" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "o" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "p" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "q", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "q" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "r", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "r" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "s", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "s" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "t", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "t" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "u", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "u" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "v", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "v" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "w", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "w" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "x", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "x" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "y", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "y" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "z", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "z" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "0", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "0" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "1", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "1" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "2", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "2" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "3", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "3" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "4", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "4" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "5", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "5" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "6", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "6" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "7", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "7" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "8", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "8" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "9", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "9" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "comma", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "comma" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "slash", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "slash" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "period", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "period" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "semicolon" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "quote", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "quote" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "open_bracket", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "open_bracket" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "tmux_prefix_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "close_bracket", | |
"modifiers": { | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_control" | |
] | |
}, | |
{ | |
"key_code": "close_bracket" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
}, | |
"devices": [ | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 544, | |
"vendor_id": 1452 | |
}, | |
"ignore": false, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
} | |
], | |
"fn_function_keys": [ | |
{ | |
"from": { | |
"key_code": "f1" | |
}, | |
"to": { | |
"consumer_key_code": "display_brightness_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f2" | |
}, | |
"to": { | |
"consumer_key_code": "display_brightness_increment" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f3" | |
}, | |
"to": { | |
"key_code": "mission_control" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f4" | |
}, | |
"to": { | |
"key_code": "launchpad" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f5" | |
}, | |
"to": { | |
"key_code": "illumination_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f6" | |
}, | |
"to": { | |
"key_code": "illumination_increment" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f7" | |
}, | |
"to": { | |
"consumer_key_code": "rewind" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f8" | |
}, | |
"to": { | |
"consumer_key_code": "play_or_pause" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f9" | |
}, | |
"to": { | |
"consumer_key_code": "fastforward" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f10" | |
}, | |
"to": { | |
"consumer_key_code": "mute" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f11" | |
}, | |
"to": { | |
"consumer_key_code": "volume_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f12" | |
}, | |
"to": { | |
"consumer_key_code": "volume_increment" | |
} | |
} | |
], | |
"name": "Default profile", | |
"selected": true, | |
"simple_modifications": [], | |
"virtual_hid_keyboard": { | |
"country_code": 0 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment