Skip to content

Commit

Permalink
Replace ag.vim with ack.vim
Browse files Browse the repository at this point in the history
Based on the comment in the `ag.vim` project:
rking/ag.vim#124 (comment)
  • Loading branch information
iamrgon committed Aug 23, 2022
1 parent 77891d5 commit 6eadac7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
path = bundle/syntastic
url = [email protected]:scrooloose/syntastic.git
ignore = dirty
[submodule "bundle/ag"]
path = bundle/ag
url = [email protected]:rking/ag.vim.git
ignore = dirty
[submodule "bundle/vim-javascript"]
path = bundle/vim-javascript
url = [email protected]:pangloss/vim-javascript.git
Expand Down Expand Up @@ -68,3 +64,6 @@
[submodule "bundle/ale"]
path = bundle/ale
url = [email protected]:dense-analysis/ale.git
[submodule "bundle/ack"]
path = bundle/ack
url = [email protected]:mileszs/ack.vim.git
Submodule ack updated from 000000 to 4a0dd6
6 changes: 6 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ if executable('ag')
let g:ctrlp_user_command = 'ag %s -l --nocolor --hidden -g ""'
" ag is so fast there's no need to cache
let g:ctrlp_use_caching = 0

" Enable Ack.vim w/ The Silver Searcher
let g:ackprg = 'ag --vimgrep --smart-case'

" Add alias to rewrite "Ag" to "Ack" to aid in the transition effort.
cnoreabbrev Ag Ack
endif

" vim-fugutive
Expand Down

0 comments on commit 6eadac7

Please sign in to comment.