X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=vim%2F.vimrc;h=dc45e82ec6f9a4a1a3a95fdec83f0420b82bd205;hb=b6146c546f434df2f72016f7ef5e298c3ab5ddef;hp=d30a086ebe1975ee4a6ac425a25cfd1d42fd9e5a;hpb=d23bda261ed2f98974d5e9b1539d24e73bdd6a7a;p=max%2Fdotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index d30a086..dc45e82 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -33,6 +33,7 @@ Plugin 'flazz/vim-colorschemes' Plugin 'benmills/vimux' Plugin 'tmhedberg/SimpylFold' Plugin 'saltstack/salt-vim' +Plugin 'fatih/vim-go' " All of your Plugins must be added before the following line call vundle#end() " required @@ -45,10 +46,10 @@ set backupdir=$HOME/.vim/backup// syntax on set background=dark colorscheme molokai -set expandtab -set shiftwidth=2 -set softtabstop=2 -set number +" set expandtab +" set shiftwidth=2 +" set softtabstop=2 +set relativenumber let g:html_indent_inctags = "html,body,head,tbody" let g:indentLine_color_term = 200 @@ -69,7 +70,7 @@ let g:syntastic_aggregate_errors = 1 " Syntastic C++11 let g:syntastic_cpp_compiler = 'g++' -let g:syntastic_cpp_compiler_options = '-std=c++11' +let g:syntastic_cpp_compiler_options = '-std=c++14' set laststatus=2 " Set this to 1 if powerline fonts are installed. @@ -106,3 +107,9 @@ set colorcolumn=80 " vimux map C :VimuxPromptCommand + +" Quiet netrw +let g:netrw_silent = 1 + +" Set folding +set foldmethod=syntax