X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=vimrc;h=51cd129ca35bfe87cf7c3cc4f35974db104accfe;hb=895ba8e81d9a26212c2443c3c7649e5fd0c32db7;hp=04f686377fc5ab09126b5354e9ffee5e33c91b1f;hpb=138edd4e00064211c5bd76694e6e3d29d02c9c5b;p=max%2Fdotfiles.git diff --git a/vimrc b/vimrc index 04f6863..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,10 +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 " 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 +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