diff options
author | Ryan Kavanagh <rak@rak.ac> | 2024-12-27 12:16:13 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2024-12-27 12:16:13 -0500 |
commit | 5ed0420e74b963fe1ac2e4a53e737c9c420b55f7 (patch) | |
tree | ad97254a5714a019a3f8c68b5e1a895eb17c741f | |
parent | rak-sysadmin block network-manager (diff) |
-rw-r--r-- | dot_vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -26,3 +26,12 @@ set pastetoggle=<F10> au BufEnter ~/.local/state/neomutt/* set textwidth=72 | set list lcs=trail:-,nbsp:% | set filetype=mail au BufEnter */gophermap set list lcs=trail:-,nbsp:%,tab:»·,space:· + +augroup encrypted + autocmd! + autocmd BufReadPre,FileReadPre *.gpg set viminfo= + autocmd BufReadPre,FileReadPre *.gpg set noswapfile noundofile nobackup + autocmd BufReadPost *.gpg :%!gpg --decrypt 2> /dev/null + autocmd BufWritePre *.gpg :%!gpg -ae --default-recipient-self + autocmd BufWritePost *.gpg u +augroup END |