On Thursday, October 8, 2020 at 8:31:05 AM UTC-7, Ken Gray wrote:
>
> Is there a keyboard shortcut that would do a manual save (the 'Save" icon)?
>

There isn't a pre-defined shortcut, but it is easy to add one:

1) Create tiddler *$:/MyShortcuts/save-file*, tagged with 
*$:/tags/KeyboardShortcut*, containing:
<$action-sendmessage $message="tm-save-wiki" />

2) add a field named "key", with a field value of:
((save-file))

3) Create another tiddler, *$:/config/shortcuts/save-file*, containing:
ctrl-shift-S

4) Create another tiddler, *$:/config/ShortcutInfo/save-file*, containing:
{{$:/language/Buttons/SaveWiki/Hint}}

Notes:
* step (1) defines the action to perform
* step (2) defines the binding to the keystroke definition in step (3)
* step (3) defines the keystroke combination to use
* step (4) defines the description of the shortcut

That's it.  You can then use ctrl-shift-S to save the file.

enjoy,
-e


 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a657920b-fa03-40f9-b138-59b77fe96415o%40googlegroups.com.

Reply via email to