enhance: reorganize some shortcut group

This commit is contained in:
Weihua Lu
2021-06-22 17:57:40 +08:00
committed by Tienson Qin
parent 64d4b472b1
commit 39bf3eb9aa
2 changed files with 9 additions and 11 deletions

View File

@@ -233,11 +233,11 @@
:binding "mod+shift+a"
:fn editor-handler/select-all-blocks!}
:editor/zoom-in
{:desc "Zoom in / Forward"
{:desc "Zoom in when editing / Forward"
:binding (if mac? "mod+." "alt+right")
:fn editor-handler/zoom-in!}
:editor/zoom-out
{:desc "Zoom out / Back"
{:desc "Zoom out when editing / Back"
:binding (if mac? "mod+," "alt+left")
:fn editor-handler/zoom-out!}
:ui/toggle-brackets
@@ -324,19 +324,13 @@
:editor/new-line
:editor/indent
:editor/outdent
:editor/collapse-block-children
:editor/expand-block-children
:editor/select-all-blocks
:go/search
:go/search-in-page
:editor/undo
:editor/redo
:editor/zoom-in
:editor/zoom-out
:editor/copy
:editor/cut
:editor/toggle-open-blocks
:ui/toggle-wide-mode]
:editor/cut]
:shortcut.category/formatting
^{:doc "Formatting"}
@@ -350,7 +344,12 @@
[:editor/up
:editor/down
:editor/left
:editor/right]
:editor/right
:editor/zoom-in
:editor/zoom-out
:editor/collapse-block-children
:editor/expand-block-children
:editor/toggle-open-blocks]
:shortcut.category/block-editing
^{:doc "Block editing general"}