0

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.

1 Answer 1

3

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 press S" to surround with "

sourse and more info

I have tested the IdeaVim plugin, but not the vscode one.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.