]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/vim/files/vimrc
add ctrlp back
[max/saltfiles.git] / states / vim / files / vimrc
index d645f7886099e255a938c7aca18cb6180237aeff..0c5213f9ac155c84054c6ac1d5962f531eee882b 100644 (file)
@@ -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 <Leader>y "+y
 noremap <Leader>p "+p
+
+let g:ctrlp_cache_dir = $HOME . '/.cache/ctrlp'
+if executable('ag')
+    let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
+endif