X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fvim%2Ffiles%2Fvimrc;fp=states%2Fvim%2Ffiles%2Fvimrc;h=0c5213f9ac155c84054c6ac1d5962f531eee882b;hb=63f41e77f02bd363180a5c5a6178ba279e7f5669;hp=d645f7886099e255a938c7aca18cb6180237aeff;hpb=8df7b728cb50214531c86df39653958341300ea6;p=max%2Fsaltfiles.git diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index d645f78..0c5213f 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 @@ -158,3 +159,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