From acbd924ab2dd26f3ddb43495dbe33f737917d51f Mon Sep 17 00:00:00 2001 From: Chu-Siang Lai Date: Sat, 17 Mar 2018 19:19:40 +0800 Subject: [PATCH] Replace the ag.vim with ack.vim The ag.vim has EOL, so I start use the ack.vim . * https://github.com/rking/ag.vim/issues/124#issuecomment-227038003 --- _vim/plugin-list.vim | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/_vim/plugin-list.vim b/_vim/plugin-list.vim index 9d87758..9b35882 100644 --- a/_vim/plugin-list.vim +++ b/_vim/plugin-list.vim @@ -460,7 +460,16 @@ NeoBundle 'vim-scripts/bats.vim' NeoBundle 'xu-cheng/brew.vim' "NeoBundle 'vadv/vim-chef' "autocmd FileType ruby,eruby set filetype=ruby.eruby.chef -NeoBundle 'rking/ag.vim' + +NeoBundle 'mileszs/ack.vim' +cnoreabbrev ag Ack +cnoreabbrev aG Ack +cnoreabbrev Ag Ack +cnoreabbrev AG Ack +if executable('ag') + let g:ackprg = 'ag --vimgrep --smart-case' +endif + NeoBundle 'ekalinin/Dockerfile.vim' NeoBundle 'pearofducks/ansible-vim' NeoBundle 'Glench/Vim-Jinja2-Syntax'