Skip to content

Instantly share code, notes, and snippets.

@rene-aguirre
rene-aguirre / ctrlp_speed.vim
Created September 13, 2012 15:45
Speed up ctrlp with VCS
" ctrlp.vim plug-in
" open files extra files in hidden buffers
let g:ctrlp_open_multiple_files = '1jr'
" indexing speed up
if has("unix")
let g:ctrlp_user_command = {
\ 'types': {
\ 1: ['.git', 'cd %s && git ls-files'],
\ 2: ['.hg', 'hg --cwd %s locate -I .'],