fix: keep counted word deletions within the current line

Word deletion reused cross-line word motion destinations. Constrain token traversal and boundary fallbacks to each caret’s current row while preserving cross-line navigation.
This commit is contained in:
2026-10-13 17:30:00 +02:00
parent 99fa5a2aff
commit 983f43e710
5 changed files with 89 additions and 29 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
- [ ] noticed that `d<count>w` also removes the newline and as such merges lines. this is not intended behavior and should be fixed. `dw` should not affect other lines (and neither should `db`).
- [x] noticed that `d<count>w` also removes the newline and as such merges lines. this is not intended behavior and should be fixed. `dw` should not affect other lines (and neither should `db`).
- [ ] add `c<count>w` and `c<count>b` actions mimicking the `d` equivalent, but also entering insert mode.
- [ ] add git gutter info:
- [ ] add git/jj gutter info:
- fat, vertical, colored bar on inner side of gutter closer to gutter than to text (default)
- colored symbols:
- new: `+`