« 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-keymap18
1 files changed, 18 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 8075d6c..4a5f8bb 100644
--- a/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap
+++ b/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap
@@ -5,6 +5,12 @@
 	{ "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 },
@@ -15,6 +21,11 @@
 	{ "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)
 
@@ -22,6 +33,7 @@
 		"command": "enter_exit_wiki_tag",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 		],
 	},
 
@@ -29,6 +41,7 @@
 		"command": "enter_exit_wiki_tag",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 		],
 	},
 
@@ -36,6 +49,7 @@
 		"command": "space_in_wiki_tag",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 		],
 	},
 
@@ -43,6 +57,7 @@
 		"command": "space_in_wiki_tag",
 		"context": [
 			{ "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" },
+			{ "key": "file_name", "operator": "regex_contains", "operand": "\\.yaml" },
 		],
 	},
 
@@ -50,6 +65,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" },
 		],
@@ -59,6 +75,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" },
 		],
@@ -68,6 +85,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" },
 		],