fzy

terminal fuzzy finder picker

git clone https://9o.is/git/fzy.git

commit d6801c3e511f1e7164dccd903fe5ed42c82843c7
parent a43cb2b29215edfe9d5678496bc6c7be5a3ff9b6
Author: Wenxuan <wenxuangm@gmail.com>
Date:   Sun,  7 May 2017 01:14:37 +0800

Update README.md

Add --silent option to ag command preventing error message (eg: permission denied error on some directories) flow to 'output' which should only be the file name selected.
Diffstat:
MREADME.md | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -90,9 +90,9 @@ nnoremap <leader>s :call FzyCommand("find -type f", ":sp")<cr> Any program can be used to filter files presented through fzy. [ag (the silver searcher)](https://github.com/ggreer/the_silver_searcher) can be used to ignore files specified by `.gitignore`. ``` vim -nnoremap <leader>e :call FzyCommand("ag . -l -g ''", ":e")<cr> -nnoremap <leader>v :call FzyCommand("ag . -l -g ''", ":vs")<cr> -nnoremap <leader>s :call FzyCommand("ag . -l -g ''", ":sp")<cr> +nnoremap <leader>e :call FzyCommand("ag . --silent -l -g ''", ":e")<cr> +nnoremap <leader>v :call FzyCommand("ag . --silent -l -g ''", ":vs")<cr> +nnoremap <leader>s :call FzyCommand("ag . --silent -l -g ''", ":sp")<cr> ``` ## Sorting