From 7883443d7e02485de4246f021d5d63e567f642d7 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 15 Jan 2024 09:43:30 -0400 Subject: st4: hsmusic editing bindings & plugin --- .../Packages/User/Default (OSX).sublime-keymap | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap') 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" }, + ], + }, ] -- cgit 1.3.0-6-gf8a5