X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=vimrc;h=51f96d0652a4a6138e0ea5a5f2b4e65730756337;hb=494fd1d52e812b56a7f0f5c37cf3055d55041b0b;hp=4f6659b9533a3a7cda72b54e40fc26866f8774f5;hpb=8da8523c62c0d1ff41b56df170acca3c75a32d66;p=max%2Fdotfiles.git diff --git a/vimrc b/vimrc index 4f6659b..51f96d0 100644 --- a/vimrc +++ b/vimrc @@ -11,7 +11,7 @@ call vundle#begin() " call vundle#begin('~/some/path/here') Plugin 'gmarik/Vundle.vim' Plugin 'jelera/vim-javascript-syntax' -Plugin 'zanloy/vim-colors-sunburst' +Plugin 'altercation/vim-colors-solarized' Plugin 'Lokaltog/vim-distinguished' Plugin 'pangloss/vim-javascript' Plugin 'Yggdroot/indentLine' @@ -19,13 +19,17 @@ Plugin 'Raimondi/delimitMate' Plugin 'scrooloose/syntastic' Plugin 'ternjs/tern_for_vim' Plugin 'docunext/closetag.vim' -Plugin 'bling/vim-airline' +Plugin 'vim-airline/vim-airline' +Plugin 'vim-airline/vim-airline-themes' Plugin 'airblade/vim-gitgutter' Plugin 'tpope/vim-fugitive' Plugin 'kien/ctrlp.vim' Plugin 'editorconfig/editorconfig-vim' Plugin 'LaTeX-Box-Team/LaTeX-Box' Plugin 'ajh17/VimCompletesMe' +Plugin 'hynek/vim-python-pep8-indent' +Plugin 'vim-scripts/octave.vim--' +Plugin 'vim-scripts/MatlabFilesEdition' " All of your Plugins must be added before the following line call vundle#end() " required @@ -35,7 +39,7 @@ filetype plugin indent on " required set t_Co=256 syntax on set background=dark -colorscheme sunburst +colorscheme solarized set expandtab set shiftwidth=2 set softtabstop=2 @@ -52,8 +56,14 @@ set statusline+=%* let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 2 let g:syntastic_check_on_open = 0 -let g:syntastic_check_on_wq = 0 +let g:syntastic_check_on_wq = 1 let g:syntastic_javascript_checkers = ['eslint'] +"let g:syntastic_python_python_exec = '/usr/bin/python3' +"let g:syntastic_python_checkers = ['flake8'] + +" Syntastic C++11 +let g:syntastic_cpp_compiler = 'g++' +let g:syntastic_cpp_compiler_options = '-std=c++11' set laststatus=2 " Set this to 1 if powerline fonts are installed. @@ -77,3 +87,12 @@ let g:LatexBox_quickfix = 4 " clang fix let g:clang_user_options='|| exit0' + +" Color 80th column +highlight ColorColumn ctermbg=237 +set colorcolumn=80 + +" Octave Syntax +" augroup filetypedetect +" au! BufRead,BufNewFile *.m,*.oct set filetype=octave +" augroup END