|
@@ -50,7 +50,7 @@ let g:signify_vcs_list = [ 'git' ]
|
|
|
|
|
|
let g:jsx_ext_required = 0
|
|
|
|
|
|
-call unite#filters#matcher_default#use(['matcher_fuzzy'])
|
|
|
+let g:unite_enable_auto_select = 0
|
|
|
|
|
|
" use ag if present
|
|
|
if executable('ag')
|
|
@@ -64,8 +64,18 @@ function! s:unite_settings()
|
|
|
" Enable navigation with control-j and control-k in insert mode
|
|
|
imap <buffer> <C-j> <Plug>(unite_select_next_line)
|
|
|
imap <buffer> <C-k> <Plug>(unite_select_previous_line)
|
|
|
+ inoremap <silent><buffer><expr> <C-s> unite#do_action('split')
|
|
|
+ inoremap <silent><buffer><expr> <C-v> unite#do_action('vsplit')
|
|
|
+ nnoremap <silent><buffer><expr> s unite#do_action('split')
|
|
|
+ nnoremap <silent><buffer><expr> v unite#do_action('vsplit')
|
|
|
endfunction
|
|
|
|
|
|
+call unite#custom#profile('default', 'context', {
|
|
|
+\ 'ignorecase': 1,
|
|
|
+\ 'prompt': '> ',
|
|
|
+\ 'direction': 'botright',
|
|
|
+\ })
|
|
|
+
|
|
|
" ------ settings ------
|
|
|
|
|
|
" change terminal title
|
|
@@ -125,8 +135,8 @@ vnoremap j gj
|
|
|
vnoremap k gk
|
|
|
|
|
|
" opening unite
|
|
|
-nnoremap <C-P> :Unite -no-split -buffer-name=files -start-insert file_rec<cr>
|
|
|
-nnoremap <C-O> :Unite -no-split -buffer-name=buffers -start-insert buffer<cr>
|
|
|
+nnoremap <C-P> :Unite -buffer-name=files -start-insert file_rec/async<cr>
|
|
|
+nnoremap <C-O> :Unite -buffer-name=buffers -start-insert buffer<cr>
|
|
|
|
|
|
imap <C-W> <ESC><C-W>
|
|
|
nnoremap <C-T>h :tabprev<cr>
|