summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-03-29 20:36:09 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-04-01 12:59:44 +0900
commit1c7534f00966edca7c44054af199ca27aca0a80c (patch)
tree58ec99c05fc552f69ce05dc8160d70324254e6fd /man
parentae745d9397bdc8b91f3c1834def3b8ecb0ae57b1 (diff)
Add --track option to track the current selection
Close #3186 Related #1890
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 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