14.06.2014 Views

vim 101 hacks

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Buyer: xiujuan lu (luxiujuan@gmail.com)<br />

Transaction ID: 85W16630AD8515549<br />

Vim <strong>101</strong> Hacks<br />

www.thegeekstuff.com<br />

Once the files are opened in tabs, you can use any one of the following tab<br />

commands.<br />

Tab Command<br />

:tabedit FILENAME<br />

:tabe FILENAME<br />

:tabs<br />

Description<br />

Open another file in a new tab under current Vim<br />

session.<br />

List all open tabs<br />

:tabn N<br />

Go to Nth tab<br />

:tabclose<br />

Close the current tab<br />

:tabc<br />

:tabdo CMD<br />

Execute a command in all tabs<br />

:tabn<br />

Go to the next tab<br />

:tabp<br />

Go to the previous tab<br />

108

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!