diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-10-26 22:43:43 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-10-27 04:31:58 -0400 |
commit | 07aabe5ca5f31e6735df08ccd5714952e39cc0fd (patch) | |
tree | 95c1ea209f8d4e36a3389aa2b541aacf960caf9b /vimrc | |
parent | fd75fb60f19c7b58eb9305affc3c830457ba46aa (diff) | |
download | conf-07aabe5ca5f31e6735df08ccd5714952e39cc0fd.tar.gz conf-07aabe5ca5f31e6735df08ccd5714952e39cc0fd.zip |
more unite configuration
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -674,6 +674,7 @@ endfor " }}} " unite {{{ let g:unite_data_directory = '~/.vim/unite' +let g:unite_source_rec_max_cache_files = 20000 let rec_exclude = '\(' \. '\(^\|/\)\.\|' \. '\~$\|' @@ -686,7 +687,8 @@ let rec_exclude = '\(' if filereadable("dist.ini") let rec_exclude .= '\|^' . fnamemodify('.', ':p:h:t') . '-' endif -call unite#custom#source('file_rec', 'ignore_pattern', rec_exclude) +call unite#custom#source('file_rec/async', 'ignore_pattern', rec_exclude) +call unite#custom#source('file_rec/async', 'converters', ['converter_relative_word']) autocmd FileType unite call s:unite_my_settings() function! s:unite_my_settings() nmap <silent><buffer> \ <Plug>(unite_exit) @@ -695,7 +697,7 @@ function! s:unite_my_settings() imap <silent><buffer> <Tab> <Plug>(unite_select_next_line) imap <silent><buffer> <S-Tab> <Plug>(unite_select_previous_line) endfunction -nmap <silent> t :Unite -start-insert -silent buffer file_rec<CR> +nmap <silent> t :Unite -start-insert -silent buffer file_rec/async<CR> " }}} " vimfiler {{{ let g:vimfiler_data_directory = '~/.vim/vimfiler' |