diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2024-03-13 20:56:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 20:56:31 +0900 |
commit | d282a1649d7d953f028306f13d6616958f3fd1f3 (patch) | |
tree | ddab9c74f9afbf1d66f391064bb3fb8ee870cf53 /man/man1 | |
parent | 6ce8d49d1b6a38a1a7cbb02e2726956b211f46be (diff) |
Add walker options and replace 'find' with the built-in walker (#3649)
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/fzf.1 | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index f524b8f6..c29f1e23 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -620,7 +620,7 @@ The following example uses https://github.com/junegunn/fzf/blob/master/bin/fzf-p script to render an image using either of the protocols inside the preview window. e.g. - \fBfzf --preview='fzf-preview.sh {}' + \fBfzf --preview='fzf-preview.sh {}'\fR .RE @@ -854,8 +854,34 @@ e.g. .B "--version" Display version information and exit +.SS Directory traversal .TP -Note that most options have the opposite versions with \fB--no-\fR prefix. +.B "--walker=[file][,dir][,follow][,hidden]" +Determines the behavior of the built-in directory walker that is used when +\fB$FZF_DEFAULT_COMMAND\fR is not set. The default value is \fBfile,follow,hidden\fR. + +* \fBfile\fR: Include files in the search result +.br +* \fBdir\fR: Include directories in the search result +.br +* \fBhidden\fR: Include and follow hidden directories +.br +* \fBfollow\fR: Follow symbolic links +.br + +.TP +.B "--walker-root=DIR" +The root directory from which to start the built-in directory walker. +The default value is the current working directory. + +.TP +.B "--walker-skip=DIRS" +Comma-separated list of directory names to skip during the directory walk. +The default value is \fB.git,node_modules\fR. + +.SS Note +.TP +Most options have the opposite versions with \fB--no-\fR prefix. .SH ENVIRONMENT VARIABLES .TP |