Wednesday, December 24, 2008

vim stuff

note to self

I keep forgetting this, and i want to kick my self hard so i won't!!! Even then I'm not sure i won't forget this!

To append some common text to all the lines in a text file with vi/vim, below can be used.

:%s/$/some text

\t = Tab Space

No comments: