You can quickly reverse all lines in a file using the following ex command.
:g/^/m0
This is particularly useful for files that are in chronological order such as logs or email mbox files. Thanks to Skyler for submitting the tip.
Rotating cubes, window carrousel: using COMPIZ
2 hours ago
1 comments:
Or you could filter the file through "tac" (the opposite of "cat") by :%!tac.
This assumes you have the GNU coreutils on your path. Windows users will need Cygwin or something comparable.
Post a Comment