Vim
Vim copied to clipboard
fix(search): keep Insert mode when starting search fixes #8908
What this PR does / why we need it:
This PR fixes a regression where starting search while in Insert mode could switch the editor into Visual mode unexpectedly.
The fix keeps Insert mode active when search starts, while still updating cursor and selection state correctly for command-driven selections.
Which issue(s) this PR fixes
fixes #8908 fixes #9516