X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=vimrc;h=e92096fdf617a69b4bfc555fe8c7e477de9b2f58;hb=5a4d1e424019660d9dad5b2bbb1382e0b0e2f575;hp=04f686377fc5ab09126b5354e9ffee5e33c91b1f;hpb=138edd4e00064211c5bd76694e6e3d29d02c9c5b;p=max%2Fdotfiles.git diff --git a/vimrc b/vimrc index 04f6863..e92096f 100644 --- a/vimrc +++ b/vimrc @@ -1,3 +1,6 @@ +:let mapleader = "-" +:let maplocalleader = "\\" + set nocompatible " be iMproved, required filetype off " required @@ -8,20 +11,24 @@ 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' -Plugin 'git@github.com:Raimondi/delimitMate.git' +Plugin 'Raimondi/delimitMate' Plugin 'scrooloose/syntastic' -Plugin 'Valloric/YouCompleteMe' -Plugin 'marijnh/tern_for_vim' -Plugin 'git@github.com:docunext/closetag.vim.git' +Plugin 'ternjs/tern_for_vim' +Plugin 'docunext/closetag.vim' Plugin 'bling/vim-airline' 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 @@ -31,7 +38,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 @@ -48,13 +55,19 @@ 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. let g:airline_powerline_fonts = 0 -set timeoutlen=50 +set timeoutlen=1000 let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#fnamemod = ':t' @@ -67,3 +80,18 @@ let g:ctrlp_working_path_mode = 'r' " Editorconfig let g:EditorConfig_exclude_patterns = ['fugitive://.*'] + +" latex-box +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