From 5ca15b0fe76f5a30932afaaafed5bd27ca09da43 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 10 May 2019 23:20:50 +0200 Subject: vimrc: Use long CLI options to `ag` in `g:pick_command` For better documentation. --- vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 7311401..7234191 100644 --- a/vimrc +++ b/vimrc @@ -411,6 +411,9 @@ " * Format Go code with `goimports`. " * Add next/previous shortcuts for the location list. " +" 2019.05.10: +" * Use long command line options to `ag` in `g:pick_command`. +" " Pathogen @@ -554,7 +557,7 @@ endif " ======= " pick -let g:pick_command = "ag -l -a -p './.agignore' -g ''" +let g:pick_command = "ag --files-with-matches --all-types --path-to-ignore './.agignore' -g ''" function! PickBufferListCommand() let bufnrs = filter(range(1, bufnr("$")), 'buflisted(v:val)') -- cgit v1.2.3