vimrc/unite.vim

9 lines
483 B
VimL
Raw Normal View History

" use the silver searcher with Unite's async file recursion
let g:unite_source_rec_async_command = ['ag', '--follow', '--nocolor', '--nogroup', '--hidden', '-g', '']
" set default matcher in unite to fuzzy
call unite#filters#matcher_default#use(['matcher_fuzzy'])
" open Unite ready for recursively, fuzzy match files
nnoremap <Leader>f :Unite -start-insert file_rec/async:!<CR>
2015-10-14 19:09:24 +00:00
nnoremap <Leader>b :Unite -start-insert buffer<CR>
nnoremap <Leader>m :Unite -start-insert bookmark<CR>