aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc5
1 files changed, 4 insertions, 1 deletions
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)')