diff options
author | Teddy Wing | 2019-05-04 11:13:59 +0200 |
---|---|---|
committer | Teddy Wing | 2019-05-04 11:13:59 +0200 |
commit | 250a6dd264c155522a616e5d0bac0e1e531a3dd4 (patch) | |
tree | 8a941dedd3c97de352e5af2bc30c4576b8740e05 /vimrc | |
parent | 7598d1b2986b0879876c627b6c7848cf320c74b5 (diff) | |
download | dotvim-250a6dd264c155522a616e5d0bac0e1e531a3dd4.tar.bz2 |
vimrc: Use `.agignore` in Pick command
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -400,6 +400,10 @@ " 2018.04.05: " * Add z<C-]> to jump to tag in a vertical split. " +" 2019.05.04: +" * Use `.agignore` in Pick command. This allows us to exclude files and +" folders from Pick at a project level. +" " Pathogen @@ -543,7 +547,7 @@ endif " ======= " pick -let g:pick_command = "ag -l -a -g ''" +let g:pick_command = "ag -l -a -p './.agignore' -g ''" function! PickBufferListCommand() let bufnrs = filter(range(1, bufnr("$")), 'buflisted(v:val)') |