diff options
author | Teddy Wing | 2015-07-23 03:21:27 -0400 |
---|---|---|
committer | Teddy Wing | 2015-07-23 03:21:27 -0400 |
commit | 9ca56b76c3e80987bc80e580a0d52bc482307057 (patch) | |
tree | 3f65f61bcfb03edbe4253e71691549c09273f8e0 | |
parent | f52e9095d0f4be418f15da93785aa7052dc76160 (diff) | |
download | dotvim-9ca56b76c3e80987bc80e580a0d52bc482307057.tar.bz2 |
vimrc: Change pick command from `find` to `ag`
Speed things up by getting a file list from `ag`.
-rw-r--r-- | vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)') |