Reputation: 14857
Is it somehow possible to select something in Vim's selection mode and then switch to input mode with the text still selected?
When working with VSCode, you can select text and press <
which surrounds the selection automatically with <
and >
. But when I use the selection mode of Vim, the feature of VSCode doesn't work.
Upvotes: 1
Views: 1510
Reputation: 86
vscodevim:
On a visual selection, ys"
will add quotes.
https://github.com/VSCodeVim/Vim#vim-surround
IdeaVim:
Use surround emulated plugin put
set surround
into your~/.ideavimrc
select something with visual mode and pressS"
to surround with"
I have tested the IdeaVim plugin, but not the vscode one.
Upvotes: 3