From 3ae18cf74447cfac9bf6fda7256f66ad41da3f8a Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 31 Jul 2014 09:35:54 +0100 Subject: [PATCH] vim: replace ag plugin --- vim/vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.48.1