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

Add keyboard shortcut to change the sidebar layout (#4952)

* Create change-sidebar-layout keyboard shortcut

* Update shortcuts.multids

* Update ShortcutInfo.multids

* Update Misc.multids
This commit is contained in:
Simon Huber 2020-11-01 18:10:19 +01:00 committed by GitHub
parent 9fbcdeb29e
commit a6efc14a7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 0 deletions

View File

@ -72,6 +72,7 @@ Shortcuts/Input/Down/Hint: Select the next item
Shortcuts/Input/Tab-Left/Hint: Select the previous Tab
Shortcuts/Input/Tab-Right/Hint: Select the next Tab
Shortcuts/Input/Up/Hint: Select the previous item
Shortcuts/SidebarLayout/Hint: Change the sidebar layout
SystemTiddler/Tooltip: This is a system tiddler
SystemTiddlers/Include/Prompt: Include system tiddlers
TagManager/Colour/Heading: Colour

View File

@ -0,0 +1,8 @@
title: $:/core/ui/KeyboardShortcuts/change-sidebar-layout
tags: $:/tags/KeyboardShortcut
key: ((change-sidebar-layout))
<$list filter="[{$:/themes/tiddlywiki/vanilla/options/sidebarlayout}match[fixed-fluid]]"
emptyMessage="""<$action-setfield $tiddler="$:/themes/tiddlywiki/vanilla/options/sidebarlayout" text="fixed-fluid"/>""">
<$action-setfield $tiddler="$:/themes/tiddlywiki/vanilla/options/sidebarlayout" text="fluid-fixed"/>
</$list>

View File

@ -5,6 +5,7 @@ advanced-search: {{$:/language/Buttons/AdvancedSearch/Hint}}
advanced-search-sidebar: {{$:/language/Shortcuts/Input/AdvancedSearch/Hint}}
bold: {{$:/language/Buttons/Bold/Hint}}
cancel-edit-tiddler: {{$:/language/Buttons/Cancel/Hint}}
change-sidebar-layout: {{$:/language/Shortcuts/SidebarLayout/Hint}}
excise: {{$:/language/Buttons/Excise/Hint}}
heading-1: {{$:/language/Buttons/Heading1/Hint}}
heading-2: {{$:/language/Buttons/Heading2/Hint}}

View File

@ -4,6 +4,7 @@ add-field: enter
advanced-search: ctrl-shift-A
advanced-search-sidebar: alt-Enter
cancel-edit-tiddler: escape
change-sidebar-layout: shift-alt-Down
excise: ctrl-E
sidebar-search: ctrl-shift-F
heading-1: ctrl-1