-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST]visual line mode support A or I #2167
Comments
To be clear, this is not default vim behavior. |
@Chillee you are right, vim do not provide this by default, but it is helpful, I used this feature in atom with vim-mode-plus for a long time and I hope I could use it in vscode |
@canxer314 In the meantime, or in case this never is implemented, there's a somewhat clunky way to add multiple cursors to the end of lines using a default VSCode option. Or, if you're okay with using a mouse, Alt + click adds a cursor where you click. |
@aCuteLittleBox Thanks. |
I can take a look at this one. It would definitely be useful. Note that there is the option also to press Ctrl+V for block mode, then I or A. But that requires everything to be lined up to some extent. It looks like there is a bug with that also where if I try that at the end of a long line, then select some shorter lines, and press |
I got this working locally this morning for the most part: https://cl.ly/58594b79d1aa I'll work on it further after work hours. I'll have it skip adding cursors for lines where there is no text. I will see how difficult it would be to get this to work for Visual mode I might look at the bugs with Visual Block mode erasing text as well, though that might end up on a separate PR. |
…append I or A in visual/visual line mode creates multiple cursors #2167
The VSCodeVim team prioritizes issues based on reaction count.
This is a FEATURE REQUEST :
Environment:
Behavior:
Press "shift + v" toggle visual line mode, then use "j" or "k" select serval lines, then press "A" or "I" to add cursors at the end or front of all the lines selected and switch to insert mode.
This can be vary useful.
The text was updated successfully, but these errors were encountered: