From ecf90bd25b8f418ed57dd32cfda33bda7dbb2656 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 6 Apr 2014 15:25:58 +0900 Subject: [PATCH] Update README --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index e8b56617..1c510399 100644 --- a/README.md +++ b/README.md @@ -428,6 +428,30 @@ This limit can be adjusted with `-s` option, or with the environment variable export FZF_DEFAULT_OPTS="--sort 20000" ``` +### Respecting `.gitignore`, `.hgignore`, and `svn:ignore` + +[ag](https://github.com/ggreer/the_silver_searcher) or +[pt](https://github.com/monochromegane/the_platinum_searcher) will do the +filtering: + +```sh +# Feed the output of ag into fzf +ag -l -g "" | fzf + +# Setting ag as the default source for fzf +export FZF_DEFAULT_COMMAND='ag -l -g ""' + +# Now fzf (w/o pipe) will use ag instead of find +fzf +``` + +### Windows + +fzf works on [Cygwin](http://www.cygwin.com/) and +[MSYS2](http://sourceforge.net/projects/msys2/). You may need to use `--black` +option in MSYS2 to avoid rendering issues. + + License -------