-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathctrlp_config.vim
35 lines (30 loc) · 916 Bytes
/
ctrlp_config.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
" Vim File
" AUTHOR: ci
" FILE: ctrlp_config.vim
" ROLE: TODO (some explanation)
" CREATED: 2017-03-31 23:27:24
" MODIFIED: 2018-01-26 17:26:51
if exists("did_ctrlp_config")
finish
endif
let did_ctrlp_config = 1
let g:ctrlp_map = '<leader>p'
let g:ctrlp_cmd = 'CtrlP'
map <leader>f :CtrlPMRU<CR>
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/]\.(git|hg|svn|rvm)$',
\ 'file': '\v\.(exe|so|dll|zip|tar|tar.gz|pyc)$',
\ }
if has('win32')
set wildignore+=*\\.git\\*,*\\.hg\\*,*\\.svn\\* " Windows ('noshellslash')
elseif has('unix')
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,**/*.swp,**/*~ " Linux/MacOSX
endif
let g:ctrlp_working_path_mode=0
let g:ctrlp_match_window_bottom=1
let g:ctrlp_max_height=15
let g:ctrlp_match_window_reversed=0
let g:ctrlp_mruf_max=500
let g:ctrlp_follow_symlinks=1
let g:ctrlp_max_depth=50
let g:ctrlp_max_files=100000