Skip to content

Instantly share code, notes, and snippets.

@tshirtman
Created July 22, 2012 13:16
Show Gist options
  • Select an option

  • Save tshirtman/3159660 to your computer and use it in GitHub Desktop.

Select an option

Save tshirtman/3159660 to your computer and use it in GitHub Desktop.
"hide passwords when editing (you can use select mode to see it), doesn't work
"with all terminal types, but useful
hi Password ctermfg=black ctermbg=black cterm=NONE guifg=black guibg=black
match Password /pass.*\s*=\s*\k\{-}\zs[^ ]*\ze.\{-}/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment