Description
Describe the bug
Currently, even when vim.mouseSelectionGoesIntoVisualMode
is on, selecting with a mouse when being in an insert mode doesn't change it (see here). This is different than a default behavior in vim.
To Reproduce
Enter insert mode with i
, then select with mouse in any file.
Expected behavior
vim should enter visual
mode.
Additional context
As I understand it, the original plan was to implement full-on Select Mode (#5716), however, 4 years after #5842 was opened, I think it's the right time to declare PR bankruptcy there and address the issues in smaller scale.
Note: this issue is particularly annoying when working in jupyter notebooks, where each cell has a separate "mode" and it's difficult to track in which cell when selecting with mouse you'll be in an insert vs virtual modes.