« get me outta code hell

st4: hsmusic editing bindings & plugin - 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:
author(quasar) nebula <qznebula@protonmail.com>2024-01-15 09:43:30 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-15 09:43:30 -0400
commit7883443d7e02485de4246f021d5d63e567f642d7 (patch)
tree1fd8bf662148cd311fa465a5946ac33fabb53df0 /apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap
parentc5faa83699734a45f0fcafb07eb6c30e11e7fda3 (diff)
st4: hsmusic editing bindings & plugin
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-keymap31
1 files changed, 31 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 2250e7d..3bb8737 100644
--- a/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap
+++ b/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap
@@ -10,4 +10,35 @@
 			{ "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": "hyphen_in_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" },
+		],
+	},
 ]