You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I am in Visual Mode, I highlight some text (basically to add brackets around them, it works in normal VS code configuration, highlighting stuff then adding brackets or quotes to them) then I enter insert mode using shift + i, it enters insert mode but the selection I made is gone. Am I using wrong key bindings or is it something I should change in the vim extension settings?
You can try it by:
Highlight text in Visual mode
Press shift + i to insert text
The selected text is unselected and you just insert text normally
In the normal VIM the selected text should have remained selected so that I can add brackets or quote marks to it 'like this'
Extension (VsCodeVim) version: 0.16.12
VSCode version: 1.28.2 (system setup)
OS: Windows 7 64bit
The text was updated successfully, but these errors were encountered:
Update:
After looking up, it turned that VIM isn't supposed to work this way. After the visual select you press shift + s + (whatever kind of parentheses or quote marks you would like to add).
If you want to change a single quote into double quotes, in normal mode c + s + ' + " (change surrounding from ' into ")
Update: After looking up, it turned that VIM isn't supposed to work this way. After the visual select you press shift + s + (whatever kind of parentheses or quote marks you would like to add). If you want to change a single quote into double quotes, in normal mode c + s + ' + " (change surrounding from ' into ")
So I am in Visual Mode, I highlight some text (basically to add brackets around them, it works in normal VS code configuration, highlighting stuff then adding brackets or quotes to them) then I enter insert mode using shift + i, it enters insert mode but the selection I made is gone. Am I using wrong key bindings or is it something I should change in the vim extension settings?
You can try it by:
In the normal VIM the selected text should have remained selected so that I can add brackets or quote marks to it 'like this'
The text was updated successfully, but these errors were encountered: