[vim/vim] Visual block reselection wrong with 'virtualedit' (PR #20748)

4 views
Skip to first unread message

zeertzjq

unread,
Jul 10, 2026, 7:31:32 PM (19 hours ago) Jul 10
to vim/vim, Subscribed

Problem: Visual block reselection wrong with 'virtualedit' when line
lengths are different (after 8.2.3494).
Solution: Set the entire cursor position to old position when computing
target curswant, since the check_cursor() added in 8.2.3494
may change cursor column as well.

fixes: #20746


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20748

Commit Summary

  • 355b142 Visual block reselection wrong with 'virtualedit'

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20748@github.com>

Reply all
Reply to author
Forward
0 new messages