Skip to content

Commit

Permalink
Change unsupported ag.vim plugin to ack.vim.
Browse files Browse the repository at this point in the history
- Add config suggested here: rking/ag.vim#124 (comment)
  • Loading branch information
Tomasz Janeczko authored and Tomasz Janeczko committed Jul 13, 2016
1 parent a38fa68 commit 2b38fec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ let g:ctrlp_map = '<Leader>t'

if executable("ag")
let g:ctrlp_user_command = 'ag %s -l --nocolor --hidden -g ""'
let g:ackprg = 'ag --vimgrep --smart-case'
cnoreabbrev ag Ack
endif

"------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions vim/vimrc.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ Plugin 'tpope/vim-endwise'
" Delimitmate for automatic adding of closing braces, etc."
Plugin 'Raimondi/delimitMate'

" Ag for project-wide searching
Plugin 'rking/ag.vim'
" Ag/Ack for project-wide searching
Plugin 'mileszs/ack.vim'

" vim-commentary for easy line commenting
Plugin 'tpope/vim-commentary'
Expand Down

0 comments on commit 2b38fec

Please sign in to comment.