Category Archives: vim

Encrypt a file with vim

vi -x file :wq Unencrypt and pipe to script echo ‘1,$’|vim –cmd “set key=${PW}” ${filename} -es | ./inventory_v4.sh read -s PW echo ‘1,$’|vim –cmd “set key=${PW}” ${filename} -es | ./inventory_v4.sh unset PW

Posted in Uncategorized, vim | Leave a comment