feat: add old outdent behavior back

Related thread: https://discuss.logseq.com/t/whats-your-preferred-outdent-behavior-the-direct-one-or-the-logical-one/978
This commit is contained in:
Tienson Qin
2021-05-19 14:55:19 +08:00
parent 57d0436a60
commit dbc643b85a
8 changed files with 103 additions and 22 deletions

View File

@@ -235,6 +235,10 @@
{:desc "Toggle whether to display brackets"
:binding "mod+c mod+b"
:fn config-handler/toggle-ui-show-brackets!}
:editor/toggle-outdenting
{:desc "Toggle outdenting behavior"
:binding "mod+c mod+o"
:fn config-handler/toggle-logical-outdenting!}
:go/search-in-page
{:desc "Search in the current page"
:binding "mod+shift+u"
@@ -387,6 +391,7 @@
[:ui/toggle-help
:ui/toggle-new-block
:ui/toggle-wide-mode
:editor/toggle-outdenting
:ui/toggle-document-mode
:ui/toggle-brackets
:ui/toggle-theme