From 8c0176ae225b18e17bd36b0c7edfeb4e9d4c2d3c Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sun, 17 Jan 2021 23:58:16 +0000 Subject: [PATCH] vim: slightly better parsing of :Ag command --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.48.1