]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/vim/files/vimrc
Configure for baryte on ubuntu
[max/saltfiles.git] / states / vim / files / vimrc
index cfebe674808d9df3d4e453630d93f74d891ff634..145fd4f95a829f49154311eba5a53b08cbe68561 100644 (file)
@@ -32,6 +32,7 @@ Plugin 'majutsushi/tagbar'
 Plugin 'altercation/vim-colors-solarized'
 Plugin 'ctrlpvim/ctrlp.vim'
 Plugin 'Chiel92/vim-autoformat'
+Plugin 'python-rope/ropevim'
 
 " All of your Plugins must be added before the following line
 call vundle#end()            " required
@@ -140,9 +141,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 +162,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 <F3> :Autoformat<CR>
+
+let ropevim_goto_def_newwin = 1
+let ropevim_guess_project = 1