Sat, 01 Apr 2017 22:14:39 -0400
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 "}}}