vim: Preserve system clipboard when pasting over visual selection (#52948)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the UI/UX checklist
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #52352

Release Notes:

- Fixed system clipboard being overwritten when pasting over a visual
selection with Cmd-V/Ctrl-V in vim mode
179af67c0fJoão Soares committed on 4/21/2026, 8:41:42 PM· committed by GitHubparent5aaa6b0
2 files changedLine totals unavailable