Permalink
Browse files

Highlight words to avoid in tech writing

  • Loading branch information...
pengwynn committed Jan 10, 2014
1 parent ec16ff2 commit 12159ea233180344be4e25d57056ccd37061a153
Showing with 15 additions and 0 deletions.
  1. +15 −0 vim/vimrc.symlink
@@ -198,3 +198,18 @@ let g:gitgutter_sign_column_always = 1
let g:gitgutter_eager = 0
hi StatusLine ctermfg=5 ctermbg=10 guifg=#6c71c4 guibg=#073642
" Highlight words to avoid in tech writing
" =======================================
"
" obviously, basically, simply, of course, clearly,
" just, everyone knows, However, So, easy
" http://css-tricks.com/words-avoid-educational-writing/
highlight TechWordsToAvoid ctermbg=red ctermfg=white
match TechWordsToAvoid /\cobviously\|basically\|simply\|of\scourse\|clearly\|just\|everyone\sknows\|however\|so,\|easy/
autocmd BufWinEnter * match TechWordsToAvoid /\cobviously\|basically\|simply\|of\scourse\|clearly\|just\|everyone\sknows\|however,\|so,\|easy/
autocmd InsertEnter * match TechWordsToAvoid /\cobviously\|basically\|simply\|of\scourse\|clearly\|just\|everyone\sknows\|however,\|so,\|easy/
autocmd InsertLeave * match TechWordsToAvoid /\cobviously\|basically\|simply\|of\scourse\|clearly\|just\|everyone\sknows\|however,\|so,\|easy/
autocmd BufWinLeave * call clearmatches()

4 comments on commit 12159ea

@pengwynn

This comment has been minimized.

Owner

pengwynn replied Jan 10, 2014

screen shot 2014-01-09 at 22 06 11

@ys

This comment has been minimized.

ys replied Jan 28, 2014

Thanks 👍

@pengwynn

This comment has been minimized.

Owner

pengwynn replied Jan 28, 2014

You bet. Be sure and pick up the latest version which has been DRY'd up considerably by @robmiller.

@ys

This comment has been minimized.

ys replied Jan 28, 2014

Many thanks for the ⚡️ answer 🍺

Please sign in to comment.