Identify the action widget triggered by a keyboard shortcut

Hello,
I’ve started dabbling with Tiddlywiki a few weeks ago, and I’m still working on setting it up to replace my usual Logseq workflow and use cases. I’ve been exploring the multitude of user creations from the past 20 years to implement their specific ideas, but I’m still struggling with how to understand and reverse-engineer those and adapt them to my own needs.

One of these aspects is to figure out the widget that’s triggered by a specific keyboard shortcut, for example Ctrl+Shift+P for EvidentlyCube/GoToShortcut or Enter/Escape/Ctrl+Escape for Streams. I intend to use TW on mobile quite a lot, therefore I’d need UI buttons to trigger the GoToShortcut and to save/exit a Stream tiddler. Any pointers please?

How to create keyboard shortcuts explains the process for defining global keyboard shortcuts by creating $:/config/keyboard/... tiddlers that are then used with the $:/ControlPanel > KeyboardShortcuts interface to associate keypress combinations with specific action definitions.

Keyboard Shortcut Tiddler explains how to define keyboard action definitions, which are tiddlers tagged with $:/tags/KeyboardShortcut that contain wikitext action widgets to be performed when their associated keypress combinations are used.

This should get you started. If you have further questions, please don’t hesitate to ask.

enjoy,
-e

In Streams if you configure the setting “Exit on saving an empty node” as enabled, hitting enter twice will save and exit the node.

Nice indeed, I didn’t realize this and it covers my need, thanks!

Thanks @EricShulman ! I did read the first link, but I was missing the shortcut tiddler part, very helpful.
I looked for the tiddlers in GoToShortcut with the KeyboardShortcut tag and managed to create a button for it :ok_hand: