From 1c7534f00966edca7c44054af199ca27aca0a80c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 29 Mar 2023 20:36:09 +0900 Subject: Add --track option to track the current selection Close #3186 Related #1890 --- 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 a538a91c..7d5ea73e 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -92,6 +92,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 "--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. + +.RS +e.g. + \fBgit log --oneline --graph --color=always | nl | + fzf --ansi --track --no-sort --layout=reverse-list\fR +.RE +.TP .B "--tac" Reverse the order of the input -- cgit v1.2.3