vimrc for latex

Ah yes – finally – blog post time again :)

Since I am currently writing a lot of latex with vim I thought I backup share my ~/.gvimrc on my blog:

1
2
3
4
5
6
7
8
9
:setlocal spell spelllang=en_us " enable spell checking (Ctrl x + s for suggestions)
:set wrap			" wrap too long lines
:set guioptions-=m 		" disable menu bar
:set guioptions-=T		" disable toolbar
:set spellfile=/path/to/spellfile-en.utf-8.add
:set colorcolumn=80		" show a red bar in column 80
:set textwidth=80		" automatically break after column 80
:set encoding=utf-8  		" The encoding displayed.
:set fileencoding=utf-8  	" The encoding written to file. Use file -bi  <file> to verify