Skip to content

Commit

Permalink
tweak unite settings, make add mru to buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
bling committed Feb 22, 2015
1 parent bccf3bb commit f273626
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vimrc
Expand Up @@ -565,10 +565,8 @@
function! bundle.hooks.on_source(bundle)
call unite#filters#matcher_default#use(['matcher_fuzzy'])
call unite#filters#sorter_default#use(['sorter_rank'])
call unite#custom#source('line,outline','matchers','matcher_fuzzy')
call unite#custom#profile('default', 'context', {
\ 'start_insert': 1,
\ 'direction': 'botright',
\ 'start_insert': 1
\ })
endfunction

Expand Down Expand Up @@ -606,7 +604,7 @@
nnoremap <silent> [unite]e :<C-u>Unite -buffer-name=recent file_mru<cr>
nnoremap <silent> [unite]y :<C-u>Unite -buffer-name=yanks history/yank<cr>
nnoremap <silent> [unite]l :<C-u>Unite -auto-resize -buffer-name=line line<cr>
nnoremap <silent> [unite]b :<C-u>Unite -auto-resize -buffer-name=buffers buffer<cr>
nnoremap <silent> [unite]b :<C-u>Unite -auto-resize -buffer-name=buffers buffer file_mru<cr>
nnoremap <silent> [unite]/ :<C-u>Unite -no-quit -buffer-name=search grep:.<cr>
nnoremap <silent> [unite]m :<C-u>Unite -auto-resize -buffer-name=mappings mapping<cr>
nnoremap <silent> [unite]s :<C-u>Unite -quick-match buffer<cr>
Expand Down

0 comments on commit f273626

Please sign in to comment.