From 9ca56b76c3e80987bc80e580a0d52bc482307057 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 23 Jul 2015 03:21:27 -0400 Subject: vimrc: Change pick command from `find` to `ag` Speed things up by getting a file list from `ag`. --- vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index b587443..720fc0a 100644 --- a/vimrc +++ b/vimrc @@ -325,6 +325,7 @@ " * Add mapping to open a new split that `git blame`s the current file " * Modify `git blame` mapping to open in less " * Modify `git blame` mapping to use custom git-blamer plugin +" * Change pick command from `find` to `ag` for speed " @@ -464,7 +465,7 @@ endif " ======= " pick -let g:pick_command = "find * -type f -o -type l" +let g:pick_command = "ag -l -a -g ''" function! PickBufferListCommand() let bufnrs = filter(range(1, bufnr("$")), 'buflisted(v:val)') -- cgit v1.2.3