Skip to content

Instantly share code, notes, and snippets.

@simeonwillbanks
Forked from robmiller/.vimrc
Created January 10, 2014 16:21
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 simeonwillbanks/8357316 to your computer and use it in GitHub Desktop.
Save simeonwillbanks/8357316 to your computer and use it in GitHub Desktop.
#writing #TechWordsToAvoid #vim
highlight TechWordsToAvoid ctermbg=red ctermfg=white
autocmd FileType markdown match TechWordsToAvoid /\c\<\(obviously\|basically\|simply\|of\scourse\|clearly\|just\|everyone\sknows\|however\|so,\|easy\)\>/
autocmd BufWinEnter *.md match TechWordsToAvoid /\c\<\(obviously\|basically\|simply\|of\scourse\|clearly\|just\|everyone\sknows\|however\|so,\|easy\)\>/
autocmd InsertEnter *.md match TechWordsToAvoid /\c\<\(obviously\|basically\|simply\|of\scourse\|clearly\|just\|everyone\sknows\|however\|so,\|easy\)\>/
autocmd InsertLeave *.md match TechWordsToAvoid /\c\<\(obviously\|basically\|simply\|of\scourse\|clearly\|just\|everyone\sknows\|however\|so,\|easy\)\>/
autocmd BufWinLeave *.md call clearmatches()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment