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

How do you close the current tab in Vim?

Answer

:tabclose

Explanation

Use :tabclose or :tabc to close the current tab. If it's the last tab, Vim will close. Use :tabonly to close all other tabs.

Next

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