unite.vim: case-insensitive fuzzy search ignoring build directories.
This commit is contained in:
parent
a4b148f854
commit
f69ef652d5
5
vimrc
5
vimrc
@ -107,7 +107,12 @@ set title
|
|||||||
if executable('ag')
|
if executable('ag')
|
||||||
let g:unite_source_grep_command = 'ag'
|
let g:unite_source_grep_command = 'ag'
|
||||||
let g:unite_source_grep_default_opts = '--noheading --nocolor'
|
let g:unite_source_grep_default_opts = '--noheading --nocolor'
|
||||||
|
let g:unite_source_rec_async_command= 'ag --nocolor --nogroup --hidden -g ""'
|
||||||
endif
|
endif
|
||||||
|
call unite#filters#matcher_default#use(['matcher_fuzzy'])
|
||||||
|
call unite#filters#sorter_default#use(['sorter_selecta'])
|
||||||
|
call unite#custom#profile('default', 'ignorecase', '1')
|
||||||
|
call unite#custom#profile('default', 'smartcase', '1')
|
||||||
" The prefix key
|
" The prefix key
|
||||||
nnoremap [unite] <Nop>
|
nnoremap [unite] <Nop>
|
||||||
nmap <space> [unite]
|
nmap <space> [unite]
|
||||||
|
Loading…
Reference in New Issue
Block a user