mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
feat: add "add to favorites" to command palette
This commit is contained in:
committed by
Tienson Qin
parent
96a449dc7e
commit
d43be37b16
@@ -366,6 +366,10 @@
|
||||
:binding "t f"
|
||||
:fn ui-handler/toggle-contents!}
|
||||
|
||||
:command/add-to-favorites {:desc "Add to/remove from favorites"
|
||||
:binding "mod+shift+f"
|
||||
:fn #((page-handler/toggle-favorite!))}
|
||||
|
||||
:editor/open-file-in-default-app {:desc "Open file in default app"
|
||||
:binding "o f"
|
||||
:fn page-handler/open-file-in-default-app}
|
||||
@@ -477,7 +481,8 @@
|
||||
:editor/copy
|
||||
:editor/cut
|
||||
:editor/undo
|
||||
:editor/redo])
|
||||
:editor/redo
|
||||
:command/add-to-favorites])
|
||||
(with-meta {:before m/enable-when-not-component-editing!}))
|
||||
|
||||
:shortcut.handler/global-prevent-default
|
||||
|
||||
Reference in New Issue
Block a user