summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-06-04 15:48:38 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-06-04 17:50:46 +0900
commit93bbb3032d1e7550dbabb2d450999cd434c60509 (patch)
treef6b4331975184172b256c71335f5964bcddc77df /man
parent4c83d8596d48acc106ffe62d50a55b3f9608c830 (diff)
downloadfzf-93bbb3032d1e7550dbabb2d450999cd434c60509.tar.gz
Add --tail=NUM to limit the number of items to keep in memory
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.110
1 files changed, 10 insertions, 0 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index f1bf04af..d636db22 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -99,6 +99,16 @@ interface rather than a "fuzzy finder". You can later enable the search using
.B "+s, --no-sort"
Do not sort the result
.TP
+.B "--tail=NUM"
+Maximum number of items to keep in memory. This is useful when you want to
+browse an endless stream of data (e.g. log stream) with fzf while limiting
+memory usage.
+.RS
+e.g.
+ \fB# Interactive filtering of a log stream
+ tail -f *.log | fzf --tail 100000 --tac --no-sort --exact\fR
+.RE
+.TP
.B "--track"
Make fzf track the current selection when the result list is updated.
This can be useful when browsing logs using fzf with sorting disabled. It is