From 8d53a6bda956f234b477620f772bc6ee568f5984 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 13 Jul 2015 04:00:02 +0900 Subject: [PATCH] Ag w/o empty lines --- Examples-(vim).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples-(vim).md b/Examples-(vim).md index d361021..c5c347e 100644 --- a/Examples-(vim).md +++ b/Examples-(vim).md @@ -149,7 +149,7 @@ endfunction command! -nargs=* Ag call fzf#run({ \ 'source': printf('ag --nogroup --column --color "%s"', -\ escape(empty() ? '^' : , '"\')), +\ escape(empty() ? '^(?=.)' : , '"\')), \ 'sink*': function('ag_handler'), \ 'options': '--ansi --no-hscroll --expect=ctrl-t,ctrl-v,ctrl-x '. \ '--multi --bind ctrl-a:select-all --color hl:68,hl+:110',