Skip to content

Commit

Permalink
Replace deprecated ag.vim with ack.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Terry committed May 8, 2018
1 parent 3522ba2 commit bfcb73f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ call plug#begin('~/.vim/plugged')

" Plugins {
" General {
Plug 'rking/ag.vim'
Plug 'mileszs/ack.vim'
Plug 'scrooloose/nerdtree'
Plug 'tpope/vim-surround'
Plug 'vim-scripts/bufexplorer.zip'
Expand Down Expand Up @@ -240,8 +240,12 @@ map <leader>trail :call setline(1,map(getline(1,"$"),'substitute(v:val,"\\s\\+$"

" Plugin settings {

" Ag.vim {
map <leader>ag :Ag!<CR>
" Ack.vim {
if executable('ag')
let g:ackprg = 'ag --vimgrep'
endif

map <leader>ag :Ack!<CR>
" }

" BufExplorer {
Expand Down

0 comments on commit bfcb73f

Please sign in to comment.