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

Add keyboard shortcut for focusing sidebar search

Fixes #4020

Fixes #4025
This commit is contained in:
Jeremy Ruston 2019-06-28 17:28:24 +01:00
parent ed67f4a88b
commit bf51ae0019
4 changed files with 8 additions and 0 deletions

View File

@ -32,6 +32,7 @@ ExportTiddler/Caption: export tiddler
ExportTiddler/Hint: Export tiddler
ExportTiddlers/Caption: export tiddlers
ExportTiddlers/Hint: Export tiddlers
FocusSidebarSearch/Hint: Focus the sidebar search field
Fold/Caption: fold tiddler
Fold/Hint: Fold the body of this tiddler
Fold/FoldBar/Caption: fold-bar

View File

@ -0,0 +1,5 @@
title: $:/core/ui/KeyboardShortcuts/focus-sidebar-search
tags: $:/tags/KeyboardShortcut
key: ((focus-sidebar-search))
<$action-sendmessage $message="tm-focus-selector" $param=".tc-search input"/>

View File

@ -3,6 +3,7 @@ title: $:/config/ShortcutInfo/
bold: {{$:/language/Buttons/Bold/Hint}}
cancel-edit-tiddler: {{$:/language/Buttons/Cancel/Hint}}
excise: {{$:/language/Buttons/Excise/Hint}}
focus-sidebar-search: {{$:/language/Buttons/FocusSidebarSearch/Hint}}
heading-1: {{$:/language/Buttons/Heading1/Hint}}
heading-2: {{$:/language/Buttons/Heading2/Hint}}
heading-3: {{$:/language/Buttons/Heading3/Hint}}

View File

@ -2,6 +2,7 @@ title: $:/config/shortcuts/
cancel-edit-tiddler: escape
excise: ctrl-E
focus-sidebar-search: ctrl-shift-F
heading-1: ctrl-1
heading-2: ctrl-2
heading-3: ctrl-3