X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fvim%2Ffiles%2Fvimrc;h=c81cf77a8034e62648d3eae8f794ed5bd74e5190;hb=d48468aaa29c3911bd6c7d144a6b5a9946599ec9;hp=bae66ff1f8414f9d8016e6c61498aa700d317dc2;hpb=b143ed02b339cee90faa58d51be1124d38e37ea4;p=max%2Fsaltfiles.git diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index bae66ff..c81cf77 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -14,7 +14,6 @@ Plugin 'jelera/vim-javascript-syntax' Plugin 'noahfrederick/vim-noctu' Plugin 'pangloss/vim-javascript' Plugin 'Yggdroot/indentLine' -Plugin 'Raimondi/delimitMate' Plugin 'scrooloose/syntastic' Plugin 'ternjs/tern_for_vim' Plugin 'docunext/closetag.vim' @@ -25,7 +24,6 @@ Plugin 'tpope/vim-fugitive' Plugin 'kien/ctrlp.vim' Plugin 'editorconfig/editorconfig-vim' Plugin 'LaTeX-Box-Team/LaTeX-Box' -Plugin 'ajh17/VimCompletesMe' Plugin 'hynek/vim-python-pep8-indent' Plugin 'vim-scripts/octave.vim--' Plugin 'vim-scripts/MatlabFilesEdition' @@ -35,11 +33,11 @@ Plugin 'tmhedberg/SimpylFold' Plugin 'saltstack/salt-vim' Plugin 'fatih/vim-go' Plugin 'gu-fan/riv.vim' -Plugin 'nvie/vim-rst-tables' Plugin 'lepture/vim-jinja' Plugin 'aklt/plantuml-syntax' -Plugin 'psf/black' Plugin 'vim-python/python-syntax' +Plugin 'luochen1990/rainbow' +Plugin 'majutsushi/tagbar' " All of your Plugins must be added before the following line call vundle#end() " required @@ -56,6 +54,7 @@ colorscheme molokai " set shiftwidth=2 " set softtabstop=2 set relativenumber +set number let g:html_indent_inctags = "html,body,head,tbody" let g:indentLine_color_term = 200 @@ -104,7 +103,7 @@ let g:clang_user_options='|| exit0' " Color 80th column highlight ColorColumn ctermbg=0 -set colorcolumn=80 +let &colorcolumn="80,".join(range(100,999),",") " Octave Syntax " augroup filetypedetect @@ -119,6 +118,8 @@ let g:netrw_silent = 1 " Set folding set foldmethod=syntax +nnoremap za +vnoremap zf " Better saving behaviour for go let g:go_fmt_experimental = 1 @@ -144,3 +145,15 @@ let g:python_highlight_string_format = 1 let g:python_highlight_string_templates = 1 let g:python_highlight_class_vars = 1 let g:python_highlight_operators = 1 + +" Python indent +autocmd FileType python setlocal foldmethod=indent foldnestmax=2 + +" Paren highlighting +hi MatchParen cterm=underline ctermbg=none ctermfg=none + +" Rainbow parens +let g:rainbow_active = 1 + +" Activate tagbar with F8 +nmap :TagbarToggle