vim: Minor vimrc tweaking
authorStefan Huber <shuber@sthu.org>
Mon, 22 Feb 2016 12:07:54 +0000 (13:07 +0100)
committerStefan Huber <shuber@sthu.org>
Mon, 22 Feb 2016 12:07:54 +0000 (13:07 +0100)
dotfiles/vim/.vimrc

index efe5dd897bd35d0e0938876f8326d3940084a77e..df65e4a1e854e135ceaf320bac618b1585aef3e8 100644 (file)
@@ -311,6 +311,7 @@ endif
 
 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>
@@ -352,6 +353,7 @@ au Filetype python set expandtab
 " Wrap text after a certain number of characters
 au Filetype python set textwidth=79
 
+let g:syntastic_python_checkers = ["pyflakes"]
 
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 "  XML, Ipe
@@ -440,6 +442,7 @@ let g:deoplete#enable_at_startup = 1
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 
 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