Skip to content

Commit

Permalink
Replace ag.vim with ack.vim.
Browse files Browse the repository at this point in the history
ag.vim is deprecated - rking/ag.vim#124
  • Loading branch information
drn committed May 24, 2018
1 parent a11f675 commit ff86501
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 10 additions & 0 deletions vim/plugin/settings/ack.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
" Set ack.vim executable
if executable('ag')
let g:ackprg = 'ag --vimgrep --smart-case'
endif
" Mapping shortcut to search via the silver search
nnoremap <leader>F :Ack<Space>
" Jump to next item in search
nnoremap <silent> + :cn<CR>z.
" Jump to next item in search
nnoremap <silent> _ :cp<CR>z.
6 changes: 0 additions & 6 deletions vim/plugin/settings/ag.vim

This file was deleted.

2 changes: 1 addition & 1 deletion vim/plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Plug 'AndrewRadev/splitjoin.vim'
" Lazy-load plugins
Plug 'scrooloose/nerdtree', { 'on': [ 'NERDTreeToggle', 'NERDTreeFind' ] }
Plug 'sjl/gundo.vim', { 'on': 'GundoToggle' }
Plug 'rking/ag.vim', { 'on': 'Ag' }
Plug 'mileszs/ack.vim', { 'on': 'Ack' }
Plug 'airblade/vim-gitgutter', { 'on': 'GitGutterToggle' }
Plug 'derekwyatt/vim-fswitch', { 'on': 'FSHere' }
Plug 'junegunn/vim-easy-align', { 'on': 'EasyAlign' }
Expand Down

0 comments on commit ff86501

Please sign in to comment.