mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
feat: wip, command palette
This commit is contained in:
@@ -322,7 +322,12 @@
|
||||
;; always overrides the copy due to "mod+c mod+s"
|
||||
{:misc/copy
|
||||
{:binding "mod+c"
|
||||
:fn (fn [] (js/document.execCommand "copy"))}}
|
||||
:fn (fn [] (js/document.execCommand "copy"))}
|
||||
|
||||
:command-palette/toggle
|
||||
{:desc "Toggle command palette"
|
||||
:binding "mod+shift+p"
|
||||
:fn (fn [] (state/toggle! :ui/command-palette-open?))}}
|
||||
|
||||
:shortcut.handler/global-non-editing-only
|
||||
^{:before m/enable-when-not-editing-mode!}
|
||||
|
||||
Reference in New Issue
Block a user