vim – Tabs


#Open a file in a new tab

:tabnew or :tabnew < file >

#Move the current split window into its own tab

Ctrl+wT

#Move to the next tab

gt or :tabnext or :tabn

#Move to the previous tab

gT or :tabprev or : tabp

#Move to tab number N

Ngt

#Move current tab to the Nth position (indexed from 0)

:tabmove N-1

#Close the current tab and all its windows

:tabclose or :tabc

#Close all tabs except for the current one

:tabonly or :tabo

#Runs the command on all tabs (e.g. :tab

:tabdo

To contribute :

” If you like Advance Computing and would like to contribute, you can  mail your article to “computingadvance@gmail.com”. You will get credit as your name , email id, designation with article on this blog. “

Leave a Reply

Your email address will not be published. Required fields are marked *