From 93bbb3032d1e7550dbabb2d450999cd434c60509 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 4 Jun 2024 15:48:38 +0900 Subject: Add --tail=NUM to limit the number of items to keep in memory --- man/man1/fzf.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'man') 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 -- cgit v1.2.3