From cf7304b58b1eaf07a230b873063dfb7a289f1754 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Tue, 28 Jul 2015 10:24:22 +0100 Subject: [PATCH] vim: add Ag command may need some work --- vim/vimrc | 1 + 1 file changed, 1 insertion(+) 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') -- 2.48.1