]> git.rmz.io Git - dotfiles.git/commitdiff
vim: replace ag plugin
authorSamir Benmendil <samir.benmendil@gmail.com>
Thu, 31 Jul 2014 08:35:54 +0000 (09:35 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Thu, 31 Jul 2014 08:40:30 +0000 (09:40 +0100)
vim/vimrc

index 91757575a34d1777195eed37c696576dba52e420..c0eb5286242ecc4676681d3968e89cae0c176525 100644 (file)
--- 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 <leader>ag yiw:Ag \12"<cr>
+vnoremap <leader>ag y:Ag \12"<cr>
 
 " airline {{{2
 let g:airline_detect_whitespace=2