jamessan/vim-gnupg — pull request #4 by vaz (2013-02-05 09:44:12+00:00)
Title: Add g:GPGFilePattern to allow custom target filename patterns

This can be really handy when using vim as an external editor for a program (which is handled via temporary files) that you'd like to be able to encrypt based on the temp file's name (for example, when using vim as an external editor for Notational Velocity, I can now toggle encryption by tagging the note's title with #pgp and editing and saving it in vim).