X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=vimrc;h=51cd129ca35bfe87cf7c3cc4f35974db104accfe;hb=f270e9edf813fc04dd0ef5bee2a5b98693b86be6;hp=9e21ef373a2a49bd1fd2ff65823490a8fc738148;hpb=f0faba15cb05b5a5b6269816bb42e736fac9bb4b;p=max%2Fdotfiles.git diff --git a/vimrc b/vimrc index 9e21ef3..51cd129 100644 --- a/vimrc +++ b/vimrc @@ -1,3 +1,6 @@ +:let mapleader = "-" +:let maplocalleader = "\\" + set nocompatible " be iMproved, required filetype off " required @@ -12,16 +15,17 @@ Plugin 'zanloy/vim-colors-sunburst' 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' " All of your Plugins must be added before the following line call vundle#end() " required @@ -51,9 +55,14 @@ let g:syntastic_check_on_open = 0 let g:syntastic_check_on_wq = 0 let g:syntastic_javascript_checkers = ['eslint'] +" Syntastic C++11 +let g:syntastic_cpp_compiler = 'g++' +let g:syntastic_cpp_compiler_options = '-std=c++11' + set laststatus=2 -let g:airline_powerline_fonts = 1 -set timeoutlen=50 +" Set this to 1 if powerline fonts are installed. +let g:airline_powerline_fonts = 0 +set timeoutlen=1000 let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#fnamemod = ':t' @@ -66,3 +75,13 @@ 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