X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=vim%2F.vimrc;h=cbdb9ce51dd58ff66b183b6a1e100d75b1b08ffa;hb=8be605a7ab0fa1defe6f91a977e8e81400dd8047;hp=999ce8aa8dd3fb4cac52ed89494af35cb3bb5c63;hpb=511f9cb01b77c15811cfa1c32d25432d9b89c311;p=max%2Fdotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index 999ce8a..cbdb9ce 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -32,19 +32,24 @@ Plugin 'vim-scripts/MatlabFilesEdition' 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 filetype plugin indent on " required +" Swapfiles +set backupdir=$HOME/.vim/backup// + " Random look and feel stuff 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 @@ -65,11 +70,11 @@ 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. -let g:airline_powerline_fonts = 0 +let g:airline_powerline_fonts = 1 set timeoutlen=1000 let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#fnamemod = ':t' @@ -102,3 +107,12 @@ set colorcolumn=80 " vimux map C :VimuxPromptCommand + +" Quiet netrw +let g:netrw_silent = 1 + +" Set folding +set foldmethod=syntax + +" Better saving behaviour for go +let g:go_fmt_experimental = 1