]> git.rmz.io Git - dotfiles.git/commitdiff
vim: sort file_rec by rank
authorSamir Benmendil <me@rmz.io>
Thu, 7 Apr 2016 10:19:13 +0000 (11:19 +0100)
committerSamir Benmendil <me@rmz.io>
Thu, 7 Apr 2016 10:19:13 +0000 (11:19 +0100)
vim/vimrc

index 4d72ff3b6d27171cd885195850f1133b7053162d..23889f1e992244a308377e6cca687eff7b1acf8d 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -653,6 +653,7 @@ if executable('ag')
     let g:unite_source_rec_async_command = 'ag --follow --nocolor --nogroup --hidden -g ""'
 end
 nnoremap <silent> [unite]f :<C-u>Unite -start-insert file_rec/async<CR>
+call unite#custom#source('file_rec/async', 'sorters', 'sorter_selecta')
 
 " unite-buffer {{{3
 call unite#custom#default_action('buffer', 'open')