X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fvim%2Ffiles%2Fvimrc;h=c7b1e418d9507fa042ab308235e65f924757318f;hb=b488bd7dbbf1732237c6e696521f7ae8a50b9e8f;hp=53d465716889c0fed5e7c96f137b123aa990b14e;hpb=3f84d93e1dedb6281042e463023e091f5f0e4450;p=max%2Fsaltfiles.git diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index 53d4657..c7b1e41 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -22,7 +22,7 @@ Plugin 'vim-airline/vim-airline-themes' Plugin 'airblade/vim-gitgutter' Plugin 'tpope/vim-fugitive' Plugin 'liskin/vim-fubitive' -Plugin 'kien/ctrlp.vim' +Plugin 'ctrlpvim/ctrlp.vim' Plugin 'editorconfig/editorconfig-vim' Plugin 'LaTeX-Box-Team/LaTeX-Box' Plugin 'hynek/vim-python-pep8-indent' @@ -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', 'pylint'] +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://.*']