mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
feat: add collapse all binding (#2186)
A shortcut to collapse all top level blocks. It helps in getting a quick summary of document, especially when there are outlines. Co-authored-by: Nikhil Warke <nwarke@protonmail.com>
This commit is contained in:
@@ -195,6 +195,10 @@
|
||||
{:desc "Collapse"
|
||||
:binding "mod+up"
|
||||
:fn editor-handler/collapse!}
|
||||
:editor/collapse-top-blocks
|
||||
{:desc "Collapse all blocks"
|
||||
:binding "mod+shift+l"
|
||||
:fn editor-handler/collapse-all!}
|
||||
:editor/indent
|
||||
{:desc "Indent block"
|
||||
:binding "tab"
|
||||
@@ -315,6 +319,7 @@
|
||||
:editor/new-line
|
||||
:editor/indent
|
||||
:editor/outdent
|
||||
:editor/collapse-top-blocks
|
||||
:editor/collapse-block-children
|
||||
:editor/expand-block-children
|
||||
:go/search
|
||||
|
||||
Reference in New Issue
Block a user