Problem: Visual mode not stopped early enough if win_gotoid() goes to another buffer. (Sergey Vlasov) Solution: Stop Visual mode before jumping to another buffer. (closes vim/vim#10217) 3aca0916f0 Co-authored-by: Bram Moolenaar <Bram@vim.org>
3aca0916f0