This script implements transparent editing of gpg encrypted files. The filename must have a ".gpg", ".pgp" or ".asc" suffix. When opening such a file the content is decrypted, when opening a new file the script will ask for the recipients of the encrypted file. The file content will be encrypted to all recipients before it is written. The script…
Branch: master
Clone or download
jamessan Define GPGEdit{Options,Recipients} autocmd in their own group
This allows them to be properly cleared only when the buffer is
re-created/loaded.  This fixes the handling of the autocmds when the
Edit buffer is saved, but not hidden or deleted.

The autocmd remains in place, rather than having an acwrite buffer with
no autocmd set.

Signed-off-by: James McCoy <>
Latest commit 32360c8 Feb 11, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload Define GPGEdit{Options,Recipients} autocmd in their own group Feb 12, 2019
plugin Move implementation into autoload/gnupg.vim Feb 4, 2019