Skip to content

Commit

Permalink
replacing ag.vim with ack.vim, per rking/ag.vim#124
Browse files Browse the repository at this point in the history
  • Loading branch information
belminf committed Jul 5, 2017
1 parent 20978dd commit ad3f314
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/keymapping.vim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ map <silent><F3> :nohl<CR>
"" Toggle number
map <silent><F4> :set number!<CR>
"" AG search
nmap ' :Ag<space>
nmap ' :Ack<Space>
"" Browse
map <silent> - :NERDTreeToggle<CR>
"" Selection
Expand Down
5 changes: 4 additions & 1 deletion src/plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@ let g:ctrlp_cmd='CtrlPMixed'
let g:ctrlp_working_path_mode='ra'

" ag: searching
Plug 'rking/ag.vim'
Plug 'mileszs/ack.vim'
let g:ag_working_path_mode ="r"
if executable('ag')
let g:ackprg = 'ag --vimgrep --smart-case'
endif

" vim-gitgutter: add git status in gutter
Plug 'airblade/vim-gitgutter'
Expand Down

0 comments on commit ad3f314

Please sign in to comment.