summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2014-04-06 15:25:58 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2014-04-06 15:25:58 +0900
commitecf90bd25b8f418ed57dd32cfda33bda7dbb2656 (patch)
tree4440836eca162bf2932b0fa9ba4d9c30d1f34b83
parentd82e38adc1c3010585a6741ca11725420379baa9 (diff)
downloadfzf-ecf90bd25b8f418ed57dd32cfda33bda7dbb2656.tar.gz
Update README
-rw-r--r--README.md24
1 files changed, 24 insertions, 0 deletions
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
-------