enhance(edit): add smooth-select action

This commit is contained in:
kkkiio
2022-04-19 19:33:49 +08:00
committed by Tienson Qin
parent 8ec93205b4
commit 140fe27ad7
5 changed files with 106 additions and 55 deletions

View File

@@ -180,6 +180,12 @@
:editor/select-block-down {:binding "shift+down"
:fn (editor-handler/on-select-block :down)}
:editor/select-up {:binding false
:fn (editor-handler/shortcut-select-up-down :up)}
:editor/select-down {:binding false
:fn (editor-handler/shortcut-select-up-down :down)}
:editor/delete-selection {:binding ["backspace" "delete"]
:fn editor-handler/delete-selection}
@@ -451,6 +457,8 @@
:editor/down
:editor/left
:editor/right
:editor/select-up
:editor/select-down
:editor/move-block-up
:editor/move-block-down
:editor/open-edit
@@ -592,7 +600,9 @@
:editor/forward-kill-word
:editor/backward-kill-word
:editor/replace-block-reference-at-point
:editor/paste-text-in-one-block-at-point]
:editor/paste-text-in-one-block-at-point
:editor/select-up
:editor/select-down]
:shortcut.category/block-selection
[:editor/open-edit