Adding gemrc and taking out bad ctrl-p algorithm
This commit is contained in:
16
vimrc
16
vimrc
@@ -180,11 +180,11 @@ nnoremap <leader>b :CtrlPBuffer<cr>
|
||||
" Set the max files
|
||||
let g:ctrlp_max_files = 10000
|
||||
" Optimize file searching
|
||||
if has("unix")
|
||||
let g:ctrlp_user_command = {
|
||||
\ 'types': {
|
||||
\ 1: ['.git/', 'cd %s && git ls-files']
|
||||
\ },
|
||||
\ 'fallback': 'find %s -type f | head -' . g:ctrlp_max_files
|
||||
\ }
|
||||
endif
|
||||
"if has("unix")
|
||||
"let g:ctrlp_user_command = {
|
||||
"\ 'types': {
|
||||
"\ 1: ['.git/', 'cd %s && git ls-files']
|
||||
"\ },
|
||||
"\ 'fallback': 'find %s -type f | head -' . g:ctrlp_max_files
|
||||
"\ }
|
||||
"endif
|
||||
|
||||
Reference in New Issue
Block a user