mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 18:06:32 +00:00
enhance: j jump to a property key or value (selection mode)
We can support jump to any block in the future. More enhancements need to be done including: 1. still focus on the block or property key/value after any property operation 2. up/down/left/right support maybe?
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
[frontend.handler.whiteboard :as whiteboard-handler]
|
||||
[frontend.handler.plugin-config :as plugin-config-handler]
|
||||
[frontend.handler.window :as window-handler]
|
||||
[frontend.handler.jump :as jump-handler]
|
||||
[frontend.modules.editor.undo-redo :as undo-redo]
|
||||
[frontend.dicts :as dicts]
|
||||
[frontend.modules.shortcut.before :as m]
|
||||
@@ -507,6 +508,8 @@
|
||||
:command/toggle-favorite {:binding "mod+shift+f"
|
||||
:fn page-handler/toggle-favorite!}
|
||||
|
||||
:editor/jump {:binding "j"
|
||||
:fn jump-handler/jump-to}
|
||||
:editor/open-file-in-default-app {:binding "mod+d mod+a"
|
||||
:inactive (not (util/electron?))
|
||||
:file-graph? true
|
||||
@@ -711,7 +714,8 @@
|
||||
:editor/copy
|
||||
:editor/copy-text
|
||||
:editor/cut
|
||||
:command/toggle-favorite])
|
||||
:command/toggle-favorite
|
||||
:editor/jump])
|
||||
(with-meta {:before m/enable-when-not-component-editing!}))
|
||||
|
||||
:shortcut.handler/global-prevent-default
|
||||
|
||||
Reference in New Issue
Block a user