====== VIM - Cheatsheet - Tabs ====== :tabnew or :tabnew {page.words.file} - open a file in a new tab Ctrl + wT - move the current split window into its own tab gt or :tabn[ext] - move to the next tab gT or :tabp[revious] - move to the previous tab #gt - move to tab number # :tabm[ove] # - move current tab to the #th position (indexed from 0) :tabc[lose] - close the current tab and all its windows :tabo[nly] - close all tabs except for the current one :tabdo command - run the command on all tabs (e.g. :tabdo q - closes all opened tabs)