- Preserve
&readonlysetting even if the file itself isn't read-only (e.g., usingvim -Ror:view) - Let Vim detect file encoding and file format when opening the file
- Remove unnecessary (and potentially damaging) changing of
&encodingwhen reading/writing the encrypted file - Avoid adding extra blank lines to buffer when loading unencrypted files
- Set
&buftype='acwrite'to ensure encrypted buffers are only saved via the plugin'sBufWriteCmd(#77, #81, #86) - Add support for Gpg4win so the plugin can be used under cygwin (#62)
- Better mimic Vim's behavior when using
:saveasor:w newfile, and leave the original buffer modified - Improve handling of options and recipients buffers to avoid one triggering the other (#89)
- Check for the standard armor header, rather than inspecting gpg's output to determine if a file is armored (#82)