diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2014-04-06 15:25:58 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2014-04-06 15:25:58 +0900 |
| commit | ecf90bd25b8f418ed57dd32cfda33bda7dbb2656 (patch) | |
| tree | 4440836eca162bf2932b0fa9ba4d9c30d1f34b83 | |
| parent | d82e38adc1c3010585a6741ca11725420379baa9 (diff) | |
| download | fzf-ecf90bd25b8f418ed57dd32cfda33bda7dbb2656.tar.gz | |
Update README
| -rw-r--r-- | README.md | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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 ------- |
