diff options
author | Ekaitz Zárraga <ekaitz.zarraga@fon.com> | 2016-02-12 16:39:45 +0100 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@fon.com> | 2016-02-12 16:39:45 +0100 |
commit | 138d3501845aba995966c414692314ea8a5a1a01 (patch) | |
tree | 2697cf066310c278515d1849d434b330f601f0e1 | |
parent | 1286ecfacadf68490707418db8ea9e19965cf0c5 (diff) |
Latex template
-rw-r--r-- | vim/.vim/ftplugin/tex.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vim/.vim/ftplugin/tex.vim b/vim/.vim/ftplugin/tex.vim new file mode 100644 index 0000000..fc0d53a --- /dev/null +++ b/vim/.vim/ftplugin/tex.vim @@ -0,0 +1,11 @@ +set tabstop=2 softtabstop=0 expandtab shiftwidth=2 +set autoindent + +" Test some wrapping on the html +setlocal textwidth=79 +setlocal formatoptions+=t + +" Highlight where the lines are more than 80 characters wide +setlocal colorcolumn=80 +highlight ColorColumn ctermbg=LightGreen + |