From: Samir Benmendil Date: Sun, 17 Jan 2021 23:58:16 +0000 (+0000) Subject: vim: slightly better parsing of :Ag command X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/8c0176ae225b18e17bd36b0c7edfeb4e9d4c2d3c?ds=inline vim: slightly better parsing of :Ag command --- diff --git a/vim/vimrc b/vim/vimrc index 7e34c7c..5baddd8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -716,7 +716,7 @@ if executable('ag') end nnoremap [unite]a :Unite grep:.:: nnoremap [unite]A :Unite grep:.:-w: -command! -nargs=1 Ag Unite grep:.:: +command! -nargs=+ Ag Unite -input= grep:.: " unite-file_rec {{{3 if executable('ag')