I have an archive which contains encrypted text files with sensitive data. Is it safe to open them with vim/gvim?

I'm afraid vim/gvim will leave content of the files on the drive/memory even after I close them.


No. You should disable swap file and unset viminfo.
Also the memory contents is not encripted.

More info here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.