]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - vimrc
Use solarized theme for vim, mutt, terminals and bash.
[max/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index 9e21ef373a2a49bd1fd2ff65823490a8fc738148..fcff8aaa92411b1de0c0766642a8f90964fea10e 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -1,3 +1,6 @@
+:let mapleader = "-"
+:let maplocalleader = "\\"
+
 set nocompatible              " be iMproved, required
 filetype off                  " required
 
@@ -8,20 +11,21 @@ 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'
 
 " All of your Plugins must be added before the following line
 call vundle#end()            " required
@@ -31,7 +35,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
@@ -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