Wednesday, August 25, 2010

How to password protect a text file using vim?

I heard this tip very recently. For password protecting a file(may be a text file contains some secure password) using vim just open it using "x" option. ie., vim -x <filename>. Or you can do this in some other way while saving it using :X instead of :w

No comments:

Post a Comment