Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
created 2006 · complexity basic · author Eric Smith · version 5.7
The following command will make a tar file including path information of all files in the current Vim buffer. If you wish to omit paths, leave out the ':p'.
:silent bufdo !tar -rvf archive.tar %:p
I use it to copy projects (where all files are open in split screen), from one machine to another.
Zip version - zip all the files in your Vim session.
:silent bufdo !zip proj.zip %
You probably want to use
:mksession to save your window setup also?