~alexdavid/dotfiles

ref: e41da60478508d45b875ef7aa13ebb77d2fa90fb dotfiles/nvim/plugin/ctrlp.vim -rw-r--r-- 492 bytes
e41da604 — Alex David Add mpd config 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
" Don't incluse .class files in ctrlp search
set wildignore+=*.class

" Follow Symbolic Links with CTRL-P
let g:ctrlp_follow_symlinks = 1

" If you have the silver searcher, have CTRL-P use it.
if executable("ag")
  set grepprg=ag\ --nogroup\ --nocolor
  let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
endif

let g:ctrlp_prompt_mappings = {
  \ 'PrtSelectMove("j")': ['<c-n>'],
  \ 'PrtSelectMove("k")': ['<c-p>'],
  \ 'PrtHistory(-1)':       [],
  \ 'PrtHistory(1)':        [],
  \ }