enhance: shift+up/down for smooth select and alt+up/down for block select

This commit is contained in:
Tienson Qin
2022-04-23 07:25:24 +08:00
parent e8ab5c761d
commit 1ff87706f6

View File

@@ -174,16 +174,16 @@
:editor/open-edit {:binding "enter"
:fn (partial editor-handler/open-selected-block! :right)}
:editor/select-block-up {:binding "shift+up"
:editor/select-block-up {:binding "alt+up"
:fn (editor-handler/on-select-block :up)}
:editor/select-block-down {:binding "shift+down"
:editor/select-block-down {:binding "alt+down"
:fn (editor-handler/on-select-block :down)}
:editor/select-up {:binding false
:editor/select-up {:binding "shift+up"
:fn (editor-handler/shortcut-select-up-down :up)}
:editor/select-down {:binding false
:editor/select-down {:binding "shift+down"
:fn (editor-handler/shortcut-select-up-down :down)}
:editor/delete-selection {:binding ["backspace" "delete"]