diff options
author | Teddy Wing | 2019-05-10 23:20:50 +0200 |
---|---|---|
committer | Teddy Wing | 2019-05-10 23:20:50 +0200 |
commit | 5ca15b0fe76f5a30932afaaafed5bd27ca09da43 (patch) | |
tree | 31430394588431c37b0da18b8490a3cc26f3d8e3 /vimrc | |
parent | 478d545286618e952bbc3de5722b166f2b867320 (diff) | |
download | dotvim-5ca15b0fe76f5a30932afaaafed5bd27ca09da43.tar.bz2 |
vimrc: Use long CLI options to `ag` in `g:pick_command`
For better documentation.
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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)') |