X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fvim%2Ffiles%2Fvimrc;h=347f93a28608019b1bebd25d28d24daae6b9445c;hb=5a37b36846a2588d7c26984c30f2dbd554a9e387;hp=cfebe674808d9df3d4e453630d93f74d891ff634;hpb=53f110abfda46d0251e5ca61e072be4f9eb390b9;p=max%2Fsaltfiles.git diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index cfebe67..347f93a 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -32,6 +32,8 @@ Plugin 'majutsushi/tagbar' Plugin 'altercation/vim-colors-solarized' Plugin 'ctrlpvim/ctrlp.vim' Plugin 'Chiel92/vim-autoformat' +Plugin 'python-rope/ropevim' +Plugin 'pangloss/vim-javascript' " All of your Plugins must be added before the following line call vundle#end() " required @@ -140,9 +142,6 @@ 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 @@ -164,6 +163,9 @@ if executable('ag') endif " Auto formatters -let g:formatdef_autopep8 = "'autopep8 -a - --range '.a:firstline.' '.a:lastline" +let g:formatdef_autopep8 = "'autopep8 --aggressive --aggressive - --range '.a:firstline.' '.a:lastline" let g:formatters_python = ['autopep8'] noremap :Autoformat + +let ropevim_goto_def_newwin = 1 +let ropevim_guess_project = 1