Skip to content

Instantly share code, notes, and snippets.

@djhaskin987
Last active May 26, 2016 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djhaskin987/7ae1bf1476870bb93cba20e462503671 to your computer and use it in GitHub Desktop.
Save djhaskin987/7ae1bf1476870bb93cba20e462503671 to your computer and use it in GitHub Desktop.
For use with keeping track of passwords with gnupg.vim in encrypted text files
# vim: nobackup nowritebackup noswapfile bufhidden=wipe tw=0 conceallevel=2 concealcursor=nvc foldmethod=syntax syntax=password
syn region passwordSecrets start="^{$" end="^}$" conceal cchar=X fold
syn region passwordNotes start="^\[$" end="^\]$" fold
highlight link passwordSecrets Normal
highlight link passwordNotes Normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment