Last active
January 2, 2016 20:29
-
-
Save robmiller/8357253 to your computer and use it in GitHub Desktop.
Revisions
-
robmiller revised this gist
Jan 10, 2014 . 1 changed file with 7 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,9 @@ highlight TechWordsToAvoid ctermbg=red ctermfg=white function MatchTechWordsToAvoid() match TechWordsToAvoid /\c\<\(obviously\|basically\|simply\|of\scourse\|clearly\|just\|everyone\sknows\|however\|so,\|easy\)\>/ endfunction autocmd FileType markdown call MatchTechWordsToAvoid() autocmd BufWinEnter *.md call MatchTechWordsToAvoid() autocmd InsertEnter *.md call MatchTechWordsToAvoid() autocmd InsertLeave *.md call MatchTechWordsToAvoid() autocmd BufWinLeave *.md call clearmatches() -
robmiller created this gist
Jan 10, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ 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()