]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - vimrc
Draw vertical line at 80 cols in vim
[max/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index 4f6659b9533a3a7cda72b54e40fc26866f8774f5..51cd129ca35bfe87cf7c3cc4f35974db104accfe 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -55,6 +55,10 @@ 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
@@ -77,3 +81,7 @@ let g:LatexBox_quickfix = 4
 
 " clang fix
 let g:clang_user_options='|| exit0'
+
+" Color 80th column
+highlight ColorColumn ctermbg=237
+set colorcolumn=80