X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fvim%2Ffiles%2Fvimrc;h=4bc8f03e80a37b29d4993d7e28d5c659898dc1c7;hb=e91b3854c65bc3c1919193dbba28b8d2527096eb;hp=d645f7886099e255a938c7aca18cb6180237aeff;hpb=f4db0c7419d7e352b0ec2fbe9c2d454e5ed99aed;p=max%2Fsaltfiles.git diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index d645f78..4bc8f03 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -33,6 +33,7 @@ Plugin 'vim-python/python-syntax' Plugin 'majutsushi/tagbar' Plugin 'heavenshell/vim-pydocstring' Plugin 'altercation/vim-colors-solarized' +Plugin 'ctrlpvim/ctrlp.vim' " All of your Plugins must be added before the following line call vundle#end() " required @@ -68,8 +69,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 = ['pylint'] -let g:syntastic_python_pylint_args = '-E' +let g:syntastic_python_checkers = ['python', 'flake8'] let g:syntastic_aggregate_errors = 1 " Syntastic C++11 @@ -100,7 +100,7 @@ let g:clang_user_options='|| exit0' " Color 80th column highlight ColorColumn ctermbg=7 -let &colorcolumn="80,".join(range(100,999),",") +let &colorcolumn="80,100".join(range(120,999),",") " Octave Syntax " augroup filetypedetect @@ -158,3 +158,8 @@ let g:pydocstring_doq_path= "/home/max/.local/bin/doq" " Clipboard noremap y "+y noremap p "+p + +let g:ctrlp_cache_dir = $HOME . '/.cache/ctrlp' +if executable('ag') + let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""' +endif