fix: align Vim indicator and restore Normal Escape dismissal

This commit is contained in:
2026-10-22 12:08:33 +02:00
parent 615cbd6eb6
commit 923425826d
4 changed files with 10 additions and 9 deletions
+3 -3
View File
@@ -196,7 +196,7 @@ Notes autosave locally as RTFD packages, including embedded images, under `~/Lib
### Vim editing
Click **Vim Off** at the left of the Notes header to enable modal editing. The button shows **NORMAL**, **INSERT**, **VISUAL**, or **VISUAL LINE**; click it again to disable Vim. This preference persists across reopening and app restarts. Opening or switching notes starts in Normal mode when enabled; ordinary editing is unchanged when disabled.
Click **Vim Off** at the top-right of the Notes header to enable modal editing. The button shows **NORMAL**, **INSERT**, **VISUAL**, or **VISUAL LINE**; click it again to disable Vim. This preference persists across reopening and app restarts. Opening or switching notes starts in Normal mode when enabled; ordinary editing is unchanged when disabled.
| Operation | Keys |
| --- | --- |
@@ -212,11 +212,11 @@ Click **Vim Off** at the left of the Notes header to enable modal editing. The b
| Delete characters; delete / change through line end | `x`; `D` / `C` |
| Paste after / before | `p` / `P` |
| Native Undo / Redo | `u` / Control-R; Command-Z / Command-Shift-Z remain available |
| Return to Normal / cancel a pending command | Escape or Control-[ |
| Return to Normal (from Insert/Visual) | Escape or Control-[ |
Counts work before motions and operators, including `3j`, `2dd`, and `2d3w`. Vertical movement uses logical lines rather than wrapped display rows and retains the desired column across shorter lines. Character motions and selections respect composed Unicode characters and skip hidden Markdown syntax. Whole-token operators carry recognized inline formatting delimiters with their visible text; linewise operations include heading and list prefixes. Yank/delete/change use a local unnamed register, preserving attributed text and embedded images for `p`/`P` without replacing the system clipboard. Editing and Undo still use the native text view and RTFD autosaves.
Escape closes an open picker first; otherwise, with Vim enabled, it returns to Normal without dismissing Notes. Command-W still dismisses the window. Command shortcuts, formatting controls, and native Insert-mode input remain available. Pending commands cancel on focus changes and Command shortcuts. This is a supported Vim subset, not an embedded Vim: search, text objects, named registers, macros, and dot-repeat are not implemented.
Escape closes an open picker first. With Vim enabled, Escape returns Insert or Visual mode to Normal; in Normal mode it dismisses Notes, just as when Vim is disabled. Command-W still dismisses the window. Command shortcuts, formatting controls, and native Insert-mode input remain available. Pending commands cancel on focus changes and Command shortcuts. This is a supported Vim subset, not an embedded Vim: search, text objects, named registers, macros, and dot-repeat are not implemented.
## Translation