1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

add keyboard shortcut toggle-sidebar

This commit is contained in:
Simon Huber 2019-07-04 08:56:17 +02:00 committed by GitHub
parent d489f61f2a
commit e91fb29253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,9 @@
title: $:/core/ui/KeyboardShortcut/toggle-sidebar
tags: $:/tags/KeyboardShortcut
key: ((toggle-sidebar))
<$list filter="[[$:/state/sidebar]is[missing]] [{$:/state/sidebar}removeprefix[yes]]" emptyMessage="""
<$action-setfield $tiddler="$:/state/sidebar" text="yes"/>
>
<$action-setfield $tiddler="$:/state/sidebar" text="no"/>
</$list>