aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2019-05-04 11:13:59 +0200
committerTeddy Wing2019-05-04 11:13:59 +0200
commit250a6dd264c155522a616e5d0bac0e1e531a3dd4 (patch)
tree8a941dedd3c97de352e5af2bc30c4576b8740e05 /vimrc
parent7598d1b2986b0879876c627b6c7848cf320c74b5 (diff)
downloaddotvim-250a6dd264c155522a616e5d0bac0e1e531a3dd4.tar.bz2
vimrc: Use `.agignore` in Pick command
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 1c43095..e20505f 100644
--- a/vimrc
+++ b/vimrc
@@ -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)')