comparison vimrc @ 222:529bb6ae8e5e

Add thesaurus
author zegervdv <zegervdv@me.com>
date Wed, 31 Dec 2014 18:32:53 +0100
parents 152b34da1f13
children ed108055146c
comparison
equal deleted inserted replaced
221:152b34da1f13 222:529bb6ae8e5e
194 au BufNewFile,BufRead,BufEnter *.tex setlocal spell spelllang=en_gb 194 au BufNewFile,BufRead,BufEnter *.tex setlocal spell spelllang=en_gb
195 au BufNewFile,BufRead,BufEnter *.tex setlocal textwidth=0 195 au BufNewFile,BufRead,BufEnter *.tex setlocal textwidth=0
196 au BufNewFile,BufRead,BufEnter *.txt setlocal spell spelllang=en_gb 196 au BufNewFile,BufRead,BufEnter *.txt setlocal spell spelllang=en_gb
197 au BufNewFile,BufRead,BufEnter *.txt setlocal textwidth=0 197 au BufNewFile,BufRead,BufEnter *.txt setlocal textwidth=0
198 au FileType gitcommit setlocal spell spelllang=en_gb 198 au FileType gitcommit setlocal spell spelllang=en_gb
199 set thesaurus+=~/.vim/thesaurus/mthesaur.txt
199 200
200 autocmd BufRead *_spec.rb set filetype=rspec 201 autocmd BufRead *_spec.rb set filetype=rspec
201 202
202 " Fix comments for matlab 203 " Fix comments for matlab
203 autocmd FileType matlab setlocal commentstring=\%\ %s 204 autocmd FileType matlab setlocal commentstring=\%\ %s