|
@@ -6,7 +6,6 @@ Plug 'tpope/vim-fugitive'
|
|
|
Plug 'tpope/vim-surround'
|
|
|
Plug 'bling/vim-airline'
|
|
|
Plug 'mhinz/vim-signify'
|
|
|
-Plug 'mhinz/vim-grepper'
|
|
|
Plug 'sjl/gundo.vim'
|
|
|
Plug 'Shougo/unite.vim'
|
|
|
Plug 'Shougo/vimproc.vim', {'do' : 'make'}
|
|
@@ -55,7 +54,9 @@ let g:unite_enable_auto_select = 0
|
|
|
|
|
|
" use ag if present
|
|
|
if executable('ag')
|
|
|
- let g:grepper = { 'tools': ['ag', 'git', 'grep'] }
|
|
|
+ let g:unite_source_grep_command = 'ag'
|
|
|
+ let g:unite_source_grep_default_opts = '-i --vimgrep --hidden'
|
|
|
+ let g:unite_source_grep_recursive_opt = ''
|
|
|
endif
|
|
|
|
|
|
autocmd FileType unite call s:unite_settings()
|
|
@@ -142,7 +143,7 @@ nnoremap <C-T>h :tabprev<cr>
|
|
|
nnoremap <C-T>l :tabnext<cr>
|
|
|
|
|
|
" grepper
|
|
|
-nnoremap <Leader>g :Grepper<CR>
|
|
|
+nnoremap <Leader>g :Unite grep:.<CR>
|
|
|
|
|
|
" ------ nvim specific ------
|
|
|
if has('nvim')
|