]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/vim/files/vimrc
Revert "Use python-mode as vim ide"
[max/saltfiles.git] / states / vim / files / vimrc
index fb17f15426b5a813b655610d5baa544387b98cc8..26cc06cd1b62dbe711d583d4ddcf2d653183b837 100644 (file)
@@ -16,8 +16,6 @@ Plugin 'docunext/closetag.vim'
 Plugin 'vim-airline/vim-airline'
 Plugin 'vim-airline/vim-airline-themes'
 Plugin 'airblade/vim-gitgutter'
-Plugin 'tpope/vim-fugitive'
-Plugin 'liskin/vim-fubitive'
 Plugin 'editorconfig/editorconfig-vim'
 Plugin 'LaTeX-Box-Team/LaTeX-Box'
 Plugin 'hynek/vim-python-pep8-indent'
@@ -31,9 +29,9 @@ Plugin 'lepture/vim-jinja'
 Plugin 'aklt/plantuml-syntax'
 Plugin 'vim-python/python-syntax'
 Plugin 'majutsushi/tagbar'
-Plugin 'heavenshell/vim-pydocstring'
 Plugin 'altercation/vim-colors-solarized'
 Plugin 'ctrlpvim/ctrlp.vim'
+Plugin 'Chiel92/vim-autoformat'
 
 " All of your Plugins must be added before the following line
 call vundle#end()            " required
@@ -164,3 +162,8 @@ let g:ctrlp_cache_dir = $HOME . '/.cache/ctrlp'
 if executable('ag')
     let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
 endif
+
+" Auto formatters
+let g:formatdef_autopep8 = "'autopep8 --aggressive --aggressive - --range '.a:firstline.' '.a:lastline"
+let g:formatters_python = ['autopep8']
+noremap <F3> :Autoformat<CR>