diff vimrc @ 121:eae8e7173918

Update plugins
author zegervdv <zegervdv@me.com>
date Thu, 25 Sep 2014 18:01:31 +0200
parents f7ea2b69b89d
children 5ec9c636da2a
line wrap: on
line diff
--- a/vimrc	Mon Sep 22 10:29:27 2014 +0200
+++ b/vimrc	Thu Sep 25 18:01:31 2014 +0200
@@ -283,7 +283,8 @@
 " Unite {{{
   call unite#filters#matcher_default#use(['matcher_fuzzy','matcher_regexp'])
   call unite#filters#sorter_default#use(['sorter_rank'])
-  call unite#set_profile('files', 'smartcase', 1)
+  " call unite#set_profile('files', 'smartcase', 1)
+  call unite#custom#profile('files', 'context.smartcase', 1)
   call unite#custom#source('line,outline', 'matchers', 'matcher_fuzzy')
   call unite#custom#source( 'buffer', 'converters', ['converter_file_directory'])
   " sort file results by length
@@ -291,7 +292,7 @@
   call unite#custom#source('file_rec/async', 'sorters', 'sorter_length')
   let g:unite_enable_start_insert=0
   let g:unite_source_history_yank_enable=1
-  let g:unite_source_rec_max_cache_files=5000
+  let g:unite_source_rec_max_cache_files=3000
   let g:unite_prompt='ยป '
   if executable('ag')
     let g:unite_source_grep_command = 'ag'
@@ -299,6 +300,7 @@
           \ '-i --line-numbers --nocolor --nogroup --hidden --ignore ' .
           \  '''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr'''
     let g:unite_source_grep_recursive_opt = ''
+    let g:unite_source_rec_async_command = 'ag --nocolor --nogroup --hidden -g ""'
   elseif executable('ack')
     let g:unite_source_grep_command='ack'
     let g:unite_source_grep_default_opts='--no-heading --no-color -C4'