vimtricks.wiki Concise Vim tricks, one at a time.

How do you surround a visual selection with characters?

Answer

S) with vim-surround

Explanation

With the vim-surround plugin, select text visually and press S) to wrap with parentheses. Works with any character: S", S], S}.

Next

How do I visually select a double-quoted string including the quotes themselves?