neovim: updated gnupg key
This commit is contained in:
parent
1e5fdd3976
commit
73fc3d09ba
|
@ -122,7 +122,7 @@
|
||||||
autocmd BufReadPost,FileReadPost *.gpg execute ":doautocmd BufReadPost " . expand("%:r")
|
autocmd BufReadPost,FileReadPost *.gpg execute ":doautocmd BufReadPost " . expand("%:r")
|
||||||
|
|
||||||
" Convert all text to encrypted text before writing
|
" Convert all text to encrypted text before writing
|
||||||
autocmd BufWritePre,FileWritePre *.gpg '[,']!gpg --default-key=A4122FF3971B6865 --default-recipient-self -ae 2>/dev/null
|
autocmd BufWritePre,FileWritePre *.gpg '[,']!gpg --default-key=7E66C3B5CDE94A4A --default-recipient-self -ae 2>/dev/null
|
||||||
" Undo the encryption so we are back in the normal text, directly
|
" Undo the encryption so we are back in the normal text, directly
|
||||||
" after the file has been written.
|
" after the file has been written.
|
||||||
autocmd BufWritePost,FileWritePost *.gpg u
|
autocmd BufWritePost,FileWritePost *.gpg u
|
||||||
|
|
Loading…
Reference in a new issue