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

How do you switch to a buffer by partial name?

Answer

:b name

Explanation

Use :b with a partial filename. :b main switches to a buffer containing 'main' in its name. Tab completion works here.

Next

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