You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty much the title says the issue. Steps to reproduce:
add set autowrite to .vimrc
run vim test.gpg, add some text and :wq cat 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!)
The text was updated successfully, but these errors were encountered:
This ensures any write of the buffer requires a configured BufWriteCmd
autocmd, providing more safe guards against problems like
#77.
Signed-off-by: James McCoy <jamessan@jamessan.com>
Pretty much the title says the issue. Steps to reproduce:
add
set autowrite
to.vimrc
run
vim test.gpg
, add some text and:wq
cat test.gpg
will spit out gibberishrun
vim 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!
)The text was updated successfully, but these errors were encountered: