Skip to content

Commit

Permalink
Switch to ack.vim from ag.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuyoshiwada committed Jan 17, 2017
1 parent c0b69cc commit e6083b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ if dein#load_state(s:plugin_dir)
call dein#add('Shougo/vimproc.vim', {'build' : 'make'})
call dein#add('Shougo/neosnippet')
call dein#add('Shougo/neosnippet-snippets')
call dein#add('rking/ag.vim')
call dein#add('mileszs/ack.vim')
call dein#add('mattn/webapi-vim')
call dein#add('thinca/vim-quickrun')

Expand Down Expand Up @@ -580,8 +580,11 @@ endfunction


" Ag
" ctrlpの置き換え
if executable('ag')
" for ack.vim
let g:ackprg = 'ag --vimgrep'

" ctrlpの置き換え
let g:ctrlp_use_caching = 0
let g:ctrlp_user_command = 'ag %s -i --hidden --nocolor --nogroup -g ""'
endif
Expand Down

0 comments on commit e6083b7

Please sign in to comment.