jamessan / vim-gnupg

This script implements transparent editing of gpg encrypted files.
http://www.vim.org/scripts/script.php?script_id=3645
728 stars 73 forks source link

Only use ":'[,']w" for FileWriteCmd #97

Closed jamessan closed 6 years ago

jamessan commented 6 years ago

BufWriteCmd writes the whole buffer, so it can use the bare ":w". Other plugins may manipulate the '[/'] marks on save, which can cause the write with marks to not write the entire buffer.

Closes: jamessan/vim-gnupg#96

Does this fix the issue for you, @Nudin?

Nudin commented 6 years ago

Forget what I wrote previously, It does solve the issue. :+1: