From c45d2cd07a8f02e7ae6a43963e17fd72a9100e95 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 20 Jan 2025 10:18:21 -0400 Subject: st4: hsmusic: bold 2.0, line break this implementation from cc101 --- .../Packages/User/Default (OSX).sublime-keymap | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (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 bcf66c0..7426757 100644 --- a/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap +++ b/apps/Sublime Text 4/Packages/User/Default (OSX).sublime-keymap @@ -52,9 +52,20 @@ }, { "keys": ["super+b"], - "command": "wrap_text_bold", + "command": "bold_wiki_text", "context": [ - { "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" } + { "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" }, + { "key": "panel_has_focus", "operator": "not_equal" }, + { "key": "overlay_has_focus", "operator": "not_equal" }, + ], + }, + + { "keys": ["super+enter"], + "command": "insert_line_break_in_wiki_text", + "context": [ + { "key": "project_name", "operator": "regex_contains", "operand": "HSMusic" }, + { "key": "panel_has_focus", "operator": "not_equal" }, + { "key": "overlay_has_focus", "operator": "not_equal" }, ], }, ] -- cgit 1.3.0-6-gf8a5