au BufRead,BufNewFile *.cls set filetype=tex
au Filetype tex set textwidth=80
+au Filetype tex set shiftwidth=2
au Filetype tex set smartindent
" Override Tagbar Toggle with LatexBox TOC
au Filetype tex nmap <buffer> <F10> :LatexTOCToggle<CR>
" Wrap text after a certain number of characters
au Filetype python set textwidth=79
+let g:syntastic_python_checkers = ["pyflakes"]
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" XML, Ipe
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py'
+let g:ycm_confirm_extra_conf = 0
let g:ycm_min_num_of_chars_for_completion = 4
let g:ycm_collect_identifiers_from_tags_files = 1