From: Samir Benmendil Date: Tue, 28 Jul 2015 09:24:22 +0000 (+0100) Subject: vim: add Ag command X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/cf7304b58b1eaf07a230b873063dfb7a289f1754?ds=sidebyside vim: add Ag command may need some work --- diff --git a/vim/vimrc b/vim/vimrc index ae76bc8..f02ff6d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -541,6 +541,7 @@ if executable('ag') let g:unite_source_grep_recursive_opt = '' end nnoremap [unite]a :Unite grep -input= +command! -nargs=1 Ag Unite grep -input= " unite-file_rec {{{3 if executable('ag')