From bae2b78925bec393318eac082db97eb95159dbca Mon Sep 17 00:00:00 2001 From: Michael McDermott Date: Wed, 11 Sep 2024 09:13:54 -0700 Subject: [PATCH] Added keyboard shortcut option for menubar search. (#8350) --- .../tiddlywiki/menubar/keyboardshortcuts-menubar-search.tid | 5 +++++ plugins/tiddlywiki/menubar/shortcutinfo-menubar-search.tid | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 plugins/tiddlywiki/menubar/keyboardshortcuts-menubar-search.tid create mode 100644 plugins/tiddlywiki/menubar/shortcutinfo-menubar-search.tid diff --git a/plugins/tiddlywiki/menubar/keyboardshortcuts-menubar-search.tid b/plugins/tiddlywiki/menubar/keyboardshortcuts-menubar-search.tid new file mode 100644 index 000000000..cb5fefb55 --- /dev/null +++ b/plugins/tiddlywiki/menubar/keyboardshortcuts-menubar-search.tid @@ -0,0 +1,5 @@ +key: ((menubar-search)) +tags: $:/tags/KeyboardShortcut +title: $:/core/ui/KeyboardShortcuts/menubar-search + +<$action-sendmessage $message="tm-focus-selector" $param=".tc-menubar input"/> diff --git a/plugins/tiddlywiki/menubar/shortcutinfo-menubar-search.tid b/plugins/tiddlywiki/menubar/shortcutinfo-menubar-search.tid new file mode 100644 index 000000000..9f7b0bb0c --- /dev/null +++ b/plugins/tiddlywiki/menubar/shortcutinfo-menubar-search.tid @@ -0,0 +1,4 @@ +tags: +title: $:/config/ShortcutInfo/menubar-search + +Select the menubar search field