diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-10-03 14:30:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-03 14:30:23 -0400 |
| commit | 9e754f4b1e9295c649d352057e8aaa09bc8d0083 (patch) | |
| tree | a6be914c819d30b5e0a7ff209b4a10316a6662f6 /runtime/lua/vim/_ftplugin | |
| parent | ea646b6c074ac5cb75c7e4a41a5d52ec3e4a0de7 (diff) | |
| download | rneovim-9e754f4b1e9295c649d352057e8aaa09bc8d0083.tar.gz rneovim-9e754f4b1e9295c649d352057e8aaa09bc8d0083.tar.bz2 rneovim-9e754f4b1e9295c649d352057e8aaa09bc8d0083.zip | |
fix(multicursor): session-end clobbers '< '>; zqgj skips rows #42221
Problem:
- At session end, `'< '>` revert to the session-start snapshot, which
drops a selection made during the session. And the snapshot may be
from another buffer.
- `zqgj` skips screen rows: `zq` tries the motion before the steps, and
those trial runs advance `w_curswant`.
Solution:
- Keep the primary's `'< '>` at session-end.
- Restore `w_curswant` after the trial runs and after each run of steps.
Diffstat (limited to 'runtime/lua/vim/_ftplugin')
0 files changed, 0 insertions, 0 deletions