X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fvim%2Ffiles%2Fvimrc;h=1fc97881cbbe1d8dc1e9ff8174d80021c241d656;hb=0bc5a60bb61eb94fa9d32ebacc1fac9945819291;hp=bae66ff1f8414f9d8016e6c61498aa700d317dc2;hpb=b143ed02b339cee90faa58d51be1124d38e37ea4;p=max%2Fsaltfiles.git diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index bae66ff..1fc9788 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' @@ -40,6 +39,8 @@ 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 @@ -119,6 +120,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 +147,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