From: Samir Benmendil Date: Thu, 31 Jul 2014 08:35:54 +0000 (+0100) Subject: vim: replace ag plugin X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/3ae18cf74447cfac9bf6fda7256f66ad41da3f8a?ds=inline vim: replace ag plugin --- diff --git a/vim/vimrc b/vim/vimrc index 9175757..c0eb528 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -15,7 +15,7 @@ Bundle 'gmarik/vundle' Bundle 'bling/vim-airline' Bundle 'elzr/vim-json' -Bundle 'ervandew/ag.git' +Bundle 'rking/ag.vim' Bundle 'http://git.code.sf.net/p/vim-latex/vim-latex' Bundle 'kien/ctrlp.vim' Bundle 'kshenoy/vim-signature' @@ -287,6 +287,8 @@ set viewdir=$XDG_CACHE_HOME/vim " plugins {{{1 " ag {{{2 let g:AgSmartCase = 1 +nnoremap ag yiw:Ag " +vnoremap ag y:Ag " " airline {{{2 let g:airline_detect_whitespace=2