« get me outta code hell

Default (OSX).sublime-keymap « User « Packages « Sublime Text 4 « apps - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap
blob: 82f169c4ac7715e4af89d8b213cca1ce59d6f609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[
	{ "keys": ["ctrl+tab"], "command": "next_view" },
	{ "keys": ["ctrl+shift+tab"], "command": "prev_view" },
	{ "keys": ["super+alt+s"], "command": "toggle_side_bar" },
	{ "keys": ["super+shift+d"], "command": "clone_file" },
	{ "keys": ["ctrl+f"], "command": "distraction_free_window" },

	{ "keys": ["ctrl+enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line.sublime-macro"}, "context":
		[
			{ "key": "overlay_has_focus", "operator": "equal", "operand": false },
		],
	},

	// HSMusic wiki tag editing
	// (bind caps lock to f16 in Karabiner-Elements)

	{ "keys": ["f16"],
		"command": "enter_exit_wiki_tag",
		"context": [
			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
		],
	},

	{ "keys": ["shift+f16"],
		"command": "enter_exit_wiki_tag",
		"context": [
			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
		],
	},

	{ "keys": [" "],
		"command": "space_in_wiki_tag",
		"context": [
			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
		],
	},

	{ "keys": ["shift+space"],
		"command": "space_in_wiki_tag",
		"context": [
			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
		],
	},

	{ "keys": ["enter"],
		"command": "exit_wiki_tag",
		"context": [
			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
			{ "key": "panel_has_focus", "operator": "not_equal" },
		],
	},
]