From f69ef652d53847c5fc281ce16eff701695c17745 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Tue, 12 Aug 2014 08:59:40 +0200 Subject: [PATCH] unite.vim: case-insensitive fuzzy search ignoring build directories. --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vimrc b/vimrc index deeff27..1277951 100644 --- a/vimrc +++ b/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] nmap [unite]