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 />
Moving Between Files While Editing Multiple Files<br />
Go to next file when multiple files are opened.<br />
:next<br />
Go to previous file when multiple files are opened.<br />
:previous<br />
Hack 75. Saving Files Automatically<br />
Vim normally will give an error message if you have unsaved changes when<br />
you try to switch buffers or files.<br />
To enable the automatic writing of files when switching buffers/files, do the<br />
following.<br />
:set autowrite<br />
Write all files using a single command. (this can be VERY useful in macros)<br />
:wall<br />
113