Vim encryption

Vim has some simple built in encryption. If you have a text file you want to encrypt you can run the command:

:X

Vim will prompt you for a password (twice). The next time you save the file it will encrypt the file before saving it. When you open the file it will prompt you for the password. If you enter the wrong password you'll see a bunch of gibberish.



Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 54.80.206.166
To prevent spam please submit by clicking the kitten: