Preserve preferred column on vertical motion

This commit is contained in:
slhx agent
2026-06-21 20:25:39 +02:00
parent 9f4c1539e4
commit 2277ed281d
4 changed files with 110 additions and 35 deletions
+8 -5
View File
@@ -105,11 +105,14 @@ aliases are optional accelerators, not required controls.
### Select mode
Selection-building mode. Movement extends the active selection by default.
Semantic object selections live behind the match/object rail (`m w`, `m l`,
`m i`, `m p`, etc.) so bare `h/j/k/l`, word motions, arrows, and mobile line
aliases keep behaving as selection-extending motions. Select mode can apply
operations such as delete, replace, copy, format, code action, or explain to the
selection.
Vertical movement preserves a preferred cursor column across ragged lines,
clamping only to the current line length until horizontal/editing motion resets
that preference. Semantic object selections live behind the match/object rail
(`m w`, `m l`, `m i`, `m p`, etc.) so bare `h/j/k/l`, word motions, arrows, and
mobile line aliases keep behaving as selection-extending motions. Line object
selection includes the line's newline boundary when present, matching Vim-like
linewise edit semantics. Select mode can apply operations such as delete,
replace, copy, format, code action, or explain to the selection.
### Panel mode