« get me outta code hell

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
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap')
-rw-r--r--apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap23
1 files changed, 23 insertions, 0 deletions
diff --git a/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap b/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap
index 7426757..1fbc901 100644
--- a/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap
+++ b/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap
@@ -2,15 +2,31 @@
 	{ "keys": ["ctrl+tab"], "command": "next_view" },
 	{ "keys": ["ctrl+shift+tab"], "command": "prev_view" },
 	{ "keys": ["super+alt+s"], "command": "toggle_side_bar" },
+	{ "keys": ["super+shift+s"], "command": "save_all" },
 	{ "keys": ["super+shift+d"], "command": "clone_file" },
 	{ "keys": ["ctrl+f"], "command": "distraction_free_window" },
 
+	{ "keys": ["super+r"], "command": "toggle_overwrite", "context":
+		[
+			{ "key": "selector", "operator": "equal", "operand": "text.plain" },
+		],
+	},
+
 	{ "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 },
 		],
 	},
 
+	{ "keys": ["ctrl+super+k"], "command": "next_bookmark" },
+	{ "keys": ["ctrl+shift+super+k"], "command": "prev_bookmark" },
+	{ "keys": ["super+k"], "command": "toggle_bookmark", "args": {"toggle_line": true } },
+
+	{ "keys": ["super+shift+l"], "command": "lower_case" },
+	{ "keys": ["super+shift+u"], "command": "upper_case" },
+
+	{ "keys": ["super+shift+e"], "command": "replace_all" },
+
 	// HSMusic wiki tag editing
 	// (bind caps lock to f16 in Karabiner-Elements)
 
@@ -18,6 +34,7 @@
 		"command": "enter_exit_wiki_tag",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 		],
 	},
 
@@ -25,6 +42,7 @@
 		"command": "enter_exit_wiki_tag",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 		],
 	},
 
@@ -32,6 +50,7 @@
 		"command": "space_in_wiki_tag",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 		],
 	},
 
@@ -39,6 +58,7 @@
 		"command": "space_in_wiki_tag",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 		],
 	},
 
@@ -46,6 +66,7 @@
 		"command": "exit_wiki_tag",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 			{ "key": "panel_has_focus", "operator": "not_equal" },
 			{ "key": "overlay_has_focus", "operator": "not_equal" },
 		],
@@ -55,6 +76,7 @@
 		"command": "bold_wiki_text",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 			{ "key": "panel_has_focus", "operator": "not_equal" },
 			{ "key": "overlay_has_focus", "operator": "not_equal" },
 		],
@@ -64,6 +86,7 @@
 		"command": "insert_line_break_in_wiki_text",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 			{ "key": "panel_has_focus", "operator": "not_equal" },
 			{ "key": "overlay_has_focus", "operator": "not_equal" },
 		],