From c54ad82e8db05cb6a2a57af08b5115efe0f21cd5 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 19 Jun 2024 17:00:30 +0900 Subject: [PATCH] Clarify that --nth applies after --with-nth transformation Close #3873 --- man/man1/fzf.1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 94b7c1c..df0bcb5 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -100,7 +100,11 @@ Fuzzy matching algorithm (default: v2) .TP .BI "-n, --nth=" "N[,..]" Comma-separated list of field index expressions for limiting search scope. -See \fBFIELD INDEX EXPRESSION\fR for the details. +See \fBFIELD INDEX EXPRESSION\fR for the details. When you use this option with +\fB--with-nth\fR, the field index expressions are calculated against the +transformed lines (unlike in \fB--preview\fR where fields are extracted from +the original lines) because fzf doesn't allow searching against the hidden +fields. .TP .BI "--with-nth=" "N[,..]" Transform the presentation of each line using field index expressions