fix: replace selected ranges instead of ignoring visual paste

This commit is contained in:
Valdemar Lorenzen
2026-10-14 12:26:01 +02:00
parent 5580d6fbd4
commit c5f80f27a6
6 changed files with 159 additions and 11 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ Normal: i/a insert, I/A insert at first nonblank/end, o/O new line
v characterwise select, V linewise select, p/P paste fragments, Ctrl+k/Ctrl+e clone above/below
y/d/c/p/P use the system clipboard by default; config.clipboard_mode = \"separate\" isolates it
Esc keeps only the primary caret
Visual: motions extend selections, y copy, d/x/Delete cut, c change
Visual: motions extend selections, y copy, d/x/Delete cut, c change, p/P replace selections
r<char> replaces every selected grapheme, preserving newlines; one undo action
I/A insert at each selected line's first nonblank/end
Ctrl+l split rows, Ctrl+n add occurrence, Ctrl+s skip, Ctrl+a all