Vim: Allow virtualedit=block

Created on 20 Feb 2020  路  1Comment  路  Source: VSCodeVim/Vim

Is your feature request related to a problem? Please describe.
Vim has the virtualedit=block option which allows a block selection to go past the end of a line.

Without virtualedit=block With virtualedit=block

Describe the solution you'd like
There's also issue #1632 which deals with another virtualedit option. They might be solved in the same way.

Describe alternatives you've considered
None

Additional context
Screenshots attached above.

kinfeature upstreavscode

Most helpful comment

I've marked this as upstream because I think this is much better done in VSCode itself. I don't think we can do a satisfying job ourselves (for instance, making it work with mouse clicks is impossible, and to get a cursor over there, we'd actually have to add that whitespace to the document, since VSCode doesn't actually have virtual space, which would likely cause problems or at least VERY significant complexity).

>All comments

I've marked this as upstream because I think this is much better done in VSCode itself. I don't think we can do a satisfying job ourselves (for instance, making it work with mouse clicks is impossible, and to get a cursor over there, we'd actually have to add that whitespace to the document, since VSCode doesn't actually have virtual space, which would likely cause problems or at least VERY significant complexity).

Was this page helpful?
0 / 5 - 0 ratings