use gpg2

Sat, 01 Apr 2017 22:14:39 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 01 Apr 2017 22:14:39 -0400
changeset 538
0d00232760ea
parent 537
dda7aa46d1d2
child 539
911b3929f162

use gpg2

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -328,8 +328,8 @@ augroup END
 augroup encrypted
   autocmd!
   autocmd BufReadPre,FileReadPre *.gpg set noswapfile noundofile nobackup viminfo=
-  autocmd BufReadPost *.gpg :%!gpg --decrypt 2> /dev/null
-  autocmd BufWritePre *.gpg :%!gpg -se -a --default-recipient-self
+  autocmd BufReadPost *.gpg :%!gpg2 --decrypt 2> /dev/null
+  autocmd BufWritePre *.gpg :%!gpg2 -se -a --default-recipient-self
   autocmd BufWritePost *.gpg u
 augroup END
 "}}}

mercurial