diff options
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -390,6 +390,13 @@ hi SpellCap ctermbg=17 highlight ExtraWhitespace ctermbg=red guibg=red autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ containedin=ALL +" hide passwords +autocmd BufReadCmd,FileReadCmd passwords.gpg set ft=gpgpass +autocmd Syntax yaml syn match MyPassword /\%(^\s*pass\(word\)\?:\s*\)\@<=\S\+/ conceal cchar=* +autocmd Syntax gpgpass syn match GpgPassword /\%(^\)\@<=\S\+/ conceal cchar=* +autocmd Syntax gpgpass syn match GpgPasswordQuoted /\%(^\)\@<=".\+"/ conceal cchar=* +set conceallevel=2 concealcursor=nvc + if has("gui_running") set guifont=Dejavu\ Sans\ Mono\ 10 set guioptions=aegi |