update vtextedit for VSCode-style shortcuts

This commit is contained in:
Le Tan 2025-04-10 10:25:55 +08:00
parent a7348c0aa0
commit 82b0ec751d
3 changed files with 25 additions and 1 deletions

@ -1 +1 @@
Subproject commit 4ac454b1cefc45bcb697be25bd655d9927e8bbfd
Subproject commit aaf3b097ac3ae0eed7324efae6ddce23a0130402

View File

@ -59,6 +59,18 @@ Expand the selection to the beginning or end of current paragraph.
Expand the selection to the beginning or end of current line.
- `Ctrl+Shift+Home`, `Ctrl+Shift+End`
Expand the selection to the beginning or end of current note.
- `Ctrl+Shift+G`
Go to line.
- `Ctrl+C/X`
Copy/Cut line if there is no selection.
- `Ctrl+L`
Select line.
- `Alt+Up/Down`
Move line up/down.
- `Shift+Alt+Up/Down`
Copy line up/down.
- `Ctrl+Shift+K`
Delete line.
## Markdown Editor
### Read Mode

View File

@ -59,6 +59,18 @@ VNote的很多部件均支持`Ctrl+J`和`Ctrl+K`导航。
扩展选定到行首和行尾。
- `Ctrl+Shift+Home`, `Ctrl+Shift+End`
扩展选定到笔记开始或结尾处。
- `Ctrl+Shift+G`
跳转到指定行。
- `Ctrl+C/X`
在没有选中文本时复制/剪切整行。
- `Ctrl+L`
选择当前行。
- `Alt+Up/Down`
向上/向下移动行。
- `Shift+Alt+Up/Down`
向上/向下复制行。
- `Ctrl+Shift+K`
删除行。
## Markdown 编辑器
### 阅读模式