mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 17:36:33 +00:00
enhance(ux): management for the property shortcuts in the global shortcuts module
This commit is contained in:
@@ -348,6 +348,21 @@
|
||||
(when e (.preventDefault e))
|
||||
(state/pub-event! [:editor/new-property {}]))}
|
||||
|
||||
:editor/add-block-deadline {:binding "b d"
|
||||
:selection? true
|
||||
:fn (fn []
|
||||
(state/pub-event! [:editor/new-property {:property-key "Deadline"}]))}
|
||||
|
||||
:editor/add-block-status {:binding "b s"
|
||||
:selection? true
|
||||
:fn (fn []
|
||||
(state/pub-event! [:editor/new-property {:property-key "Status"}]))}
|
||||
|
||||
:editor/add-block-priority {:binding "b p"
|
||||
:selection? true
|
||||
:fn (fn []
|
||||
(state/pub-event! [:editor/new-property {:property-key "Priority"}]))}
|
||||
|
||||
:ui/toggle-brackets {:binding "mod+c mod+b"
|
||||
:fn config-handler/toggle-ui-show-brackets!}
|
||||
|
||||
@@ -754,6 +769,9 @@
|
||||
:editor/copy-current-file
|
||||
:editor/copy-page-url
|
||||
:editor/new-whiteboard
|
||||
:editor/add-block-deadline
|
||||
:editor/add-block-status
|
||||
:editor/add-block-priority
|
||||
:ui/toggle-wide-mode
|
||||
:ui/select-theme-color
|
||||
:ui/goto-plugins
|
||||
@@ -870,7 +888,11 @@
|
||||
:editor/select-parent
|
||||
:editor/select-block-up
|
||||
:editor/select-block-down
|
||||
:editor/delete-selection]
|
||||
:editor/delete-selection
|
||||
:editor/add-property
|
||||
:editor/add-block-deadline
|
||||
:editor/add-block-status
|
||||
:editor/add-block-priority]
|
||||
|
||||
:shortcut.category/toggle
|
||||
[:ui/toggle-help
|
||||
|
||||
Reference in New Issue
Block a user