Pretty much the title says the issue. Steps to reproduce:
add set autowrite to .vimrc
run vim test.gpg, add some text and :wqcat test.gpg will spit out gibberish
run vim test.gpg, modify some text and :q!cat test.gpg will spit out your pre-":q!" buffer as plaintext
The writing of plaintext happens for new files as well (if you do :q!)
Pretty much the title says the issue. Steps to reproduce:
add
set autowrite
to.vimrc
runvim test.gpg
, add some text and:wq
cat test.gpg
will spit out gibberish runvim test.gpg
, modify some text and:q!
cat test.gpg
will spit out your pre-":q!" buffer as plaintextThe writing of plaintext happens for new files as well (if you do
:q!
)