X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fvim%2Ffiles%2Fvimrc;h=c7b1e418d9507fa042ab308235e65f924757318f;hb=b488bd7dbbf1732237c6e696521f7ae8a50b9e8f;hp=1fc97881cbbe1d8dc1e9ff8174d80021c241d656;hpb=df1daf91deb0cfd7bced1de96aac4358455138b1;p=max%2Fsaltfiles.git diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index 1fc9788..c7b1e41 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -21,10 +21,10 @@ Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' Plugin 'airblade/vim-gitgutter' Plugin 'tpope/vim-fugitive' -Plugin 'kien/ctrlp.vim' +Plugin 'liskin/vim-fubitive' +Plugin 'ctrlpvim/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' @@ -34,13 +34,12 @@ 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' +Plugin 'heavenshell/vim-pydocstring' " All of your Plugins must be added before the following line call vundle#end() " required @@ -53,10 +52,11 @@ set backupdir=$HOME/.vim/backup// syntax on set background=dark colorscheme molokai -" set expandtab -" set shiftwidth=2 -" set softtabstop=2 +set expandtab +set shiftwidth=4 +set softtabstop=4 set relativenumber +set number let g:html_indent_inctags = "html,body,head,tbody" let g:indentLine_color_term = 200 @@ -72,7 +72,7 @@ let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 1 let g:syntastic_javascript_checkers = ['eslint'] let g:syntastic_python_python_exec = '/usr/bin/python3' -let g:syntastic_python_checkers = ['flake8'] +let g:syntastic_python_checkers = ['flake8', 'python3 -m pylint'] let g:syntastic_aggregate_errors = 1 " Syntastic C++11 @@ -92,6 +92,9 @@ set wildignore+=.git,.hg.svn " CtrlP let g:ctrlp_working_path_mode = 'r' +" Ignore git ignored files +let g:ctrlp_user_command = 'git ls-files -co --exclude-standard $(git rev-parse --show-toplevel 2> /dev/null) 2> /dev/null || find . -type f' + " Editorconfig let g:EditorConfig_exclude_patterns = ['fugitive://.*'] @@ -105,7 +108,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 @@ -159,3 +162,6 @@ let g:rainbow_active = 1 " Activate tagbar with F8 nmap :TagbarToggle + +" Set path to doq +let g:pydocstring_doq_path= "/home/max/.local/bin/doq"