jamessan / vim-gnupg

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

change decrypt behavior to set armor option if filename ends with .asc #43

Closed marklee77 closed 8 years ago

marklee77 commented 9 years ago

changes default behaviour slightly so that decrypt sets the option to save with armor either if the file was previously encoded with armor (and the users version of gpg correctly reports it) or if the filename ends with the .asc extension.