We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f64f56 + 1df9d65 commit 34de0e0Copy full SHA for 34de0e0
.vimrc
@@ -608,15 +608,15 @@
608
\ 'dir': '\.git$\|\.hg$\|\.svn$',
609
\ 'file': '\.exe$\|\.so$\|\.dll$\|\.pyc$' }
610
611
- " On Windows use "dir" as fallback command.
612
- if WINDOWS()
613
- let s:ctrlp_fallback = 'dir %s /-n /b /s /a-d'
614
- elseif executable('ag')
+ if executable('ag')
615
let s:ctrlp_fallback = 'ag %s --nocolor -l -g ""'
616
elseif executable('ack-grep')
617
let s:ctrlp_fallback = 'ack-grep %s --nocolor -f'
618
elseif executable('ack')
619
let s:ctrlp_fallback = 'ack %s --nocolor -f'
+ " On Windows use "dir" as fallback command.
+ elseif WINDOWS()
+ let s:ctrlp_fallback = 'dir %s /-n /b /s /a-d'
620
else
621
let s:ctrlp_fallback = 'find %s -type f'
622
endif
0 commit comments