unite.vim: case-insensitive fuzzy search ignoring build directories.

This commit is contained in:
Gabriel Ebner 2014-08-12 08:59:40 +02:00
parent a4b148f854
commit f69ef652d5

5
vimrc

@ -107,7 +107,12 @@ set title
if executable('ag')
let g:unite_source_grep_command = 'ag'
let g:unite_source_grep_default_opts = '--noheading --nocolor'
let g:unite_source_rec_async_command= 'ag --nocolor --nogroup --hidden -g ""'
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
nnoremap [unite] <Nop>
nmap <space> [unite]