Skip to content

Commit

Permalink
vim: Replace ag.vim with ack.vim/QFEnter
Browse files Browse the repository at this point in the history
* ag.vim is now deprecated
* QFEnter is used to avoid mileszs/ack.vim#170
  • Loading branch information
itspriddle committed Jul 1, 2016
1 parent fd3fb46 commit 56efe18
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
3 changes: 2 additions & 1 deletion vim/plug-setup.vim
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ Plug 'junegunn/vim-easy-align', { 'on': ['<Plug>(EasyAlign)', 'EasyAlign'] }
Plug 'itchyny/lightline.vim'
Plug 'itspriddle/ZoomWin'
Plug 'milkypostman/vim-togglelist'
Plug 'yssl/QFEnter'

" Colors
Plug 'altercation/vim-colors-solarized'

" File browsing/search
Plug 'jeetsukumaran/vim-filebeagle'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'rking/ag.vim'
Plug 'mileszs/ack.vim'
Plug 'bogado/file-line'

" Ruby
Expand Down
19 changes: 16 additions & 3 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,17 @@ vnoremap <C-@> I<space><esc>gv

" Plugin Settings/Filetype maps {{{

" ag.vim {{{
" ack.vim {{{

noremap <leader>f :Ag!<space>
noremap <leader>f :Ack!<space>
if executable("ag")
let g:ag_prg = "ag --vimgrep"
let g:ackprg = "ag --vimgrep"
endif

let g:ack_apply_qmappings = 0
let g:ack_apply_lmappings = 0

" }}}

" Buffers (performed on every buffer) {{{
Expand Down Expand Up @@ -361,6 +364,16 @@ augroup ft_quickfix
\ endif
augroup END

" QFEnter.vim {{{

let g:qfenter_open_map = ['<CR>', 'o']
let g:qfenter_vopen_map = ['v']
let g:qfenter_hopen_map = ['h']
let g:qfenter_topen_map = ['t']
let g:qfenter_enable_autoquickfix = 0

" }}}

" }}}

" rails.vim {{{
Expand Down

0 comments on commit 56efe18

Please sign in to comment.