Markdown: Add shortcut for new Markdown tiddler (#6696)

ctrl-M on mac, alt-M on other platforms
This commit is contained in:
Max Schillinger 2022-05-15 18:46:32 +02:00 committed by GitHub
parent 1a377a485b
commit 91cfb217d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,8 @@
title: $:/plugins/tiddlywiki/markdown/KeyboardShortcuts/new-markdown-tiddler
tags: $:/tags/KeyboardShortcut
key: ((new-markdown-tiddler))
\whitespace trim
<$navigator story="$:/StoryList" history="$:/HistoryList" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>
<$action-sendmessage $message="tm-new-tiddler" type="text/x-markdown"/>
</$navigator>

View File

@ -0,0 +1,5 @@
title: $:/config/
ShortcutInfo/new-markdown-tiddler: {{$:/language/Buttons/NewMarkdown/Hint}}
shortcuts-mac/new-markdown-tiddler: ctrl-M
shortcuts-not-mac/new-markdown-tiddler: alt-M