Last active
January 2, 2016 20:29
-
-
Save robmiller/8357253 to your computer and use it in GitHub Desktop.
Match Chris Coyier's "words to avoid in tech writing", adapted from @pengwynn's original
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
Very nice. This is why we open source dotfiles, people.