1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 02:19:55 +00:00

Add meta-S (mac) / ctrl-S shortcuts to save wiki (#4927)

* Create save-wiki.tid

* Update shortcuts-mac.multids

* Update shortcuts.multids

* Update ShortcutInfo.multids
This commit is contained in:
Simon Huber 2020-10-28 15:42:41 +01:00 committed by GitHub
parent e71bf27dae
commit 9a4eb1e835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,7 @@
title: $:/core/ui/KeyboardShortcuts/save-wiki
tags: $:/tags/KeyboardShortcut
key: ((save-wiki))
<$wikify name="site-title" text={{$:/config/SaveWikiButton/Filename}}>
<$action-sendmessage $message="tm-save-wiki" $param={{$:/config/SaveWikiButton/Template}} filename=<<site-title>>/>
</$wikify>

View File

@ -33,6 +33,7 @@ picture: {{$:/language/Buttons/Picture/Hint}}
preview: {{$:/language/Buttons/Preview/Hint}}
quote: {{$:/language/Buttons/Quote/Hint}}
save-tiddler: {{$:/language/Buttons/Save/Hint}}
save-wiki: {{$:/language/Buttons/SaveWiki/Hint}}
sidebar-search: {{$:/language/Buttons/SidebarSearch/Hint}}
stamp: {{$:/language/Buttons/Stamp/Hint}}
strikethrough: {{$:/language/Buttons/Strikethrough/Hint}}

View File

@ -6,3 +6,4 @@ underline: meta-U
new-image: ctrl-I
new-journal: ctrl-J
new-tiddler: ctrl-N
save-wiki: meta-S

View File

@ -29,6 +29,7 @@ picture: ctrl-shift-I
preview: alt-P
quote: ctrl-Q
save-tiddler: ctrl+enter
save-wiki: ctrl-S
stamp: ctrl-S
strikethrough: ctrl-T
subscript: ctrl-shift-B