summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-02-23 19:49:57 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-02-23 19:52:57 +0900
commitc0d407f7ce1c246c22fb786128c1f027ecd2b41e (patch)
tree177140d32141f2e309e22b15b035aa9092c86a26 /man
parent461115afde3041cff31c27e490d7c28c0b6c28c4 (diff)
downloadfzf-c0d407f7ce1c246c22fb786128c1f027ecd2b41e.tar.gz
0.60.2
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf-tmux.12
-rw-r--r--man/man1/fzf.110
2 files changed, 7 insertions, 5 deletions
diff --git a/man/man1/fzf-tmux.1 b/man/man1/fzf-tmux.1
index 780fd078..ca4b32da 100644
--- a/man/man1/fzf-tmux.1
+++ b/man/man1/fzf-tmux.1
@@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
..
-.TH fzf\-tmux 1 "Feb 2025" "fzf 0.60.1" "fzf\-tmux - open fzf in tmux split pane"
+.TH fzf\-tmux 1 "Feb 2025" "fzf 0.60.2" "fzf\-tmux - open fzf in tmux split pane"
.SH NAME
fzf\-tmux - open fzf in tmux split pane
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index fc62a4da..cf2a1f91 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
..
-.TH fzf 1 "Feb 2025" "fzf 0.60.1" "fzf - a command-line fuzzy finder"
+.TH fzf 1 "Feb 2025" "fzf 0.60.2" "fzf - a command-line fuzzy finder"
.SH NAME
fzf - a command-line fuzzy finder
@@ -124,6 +124,7 @@ Transform the presentation of each line using the field index expressions.
For advanced transformation, you can provide a template containing field index
expressions in curly braces. When you use a template, the trailing delimiter is
stripped from each expression, giving you more control over the output.
+\fB{n}\fR in template evaluates to the zero-based ordinal index of the line.
.RS
e.g.
@@ -131,7 +132,7 @@ e.g.
echo foo bar baz | fzf --with-nth 2..
# Use template to rearrange fields
- echo foo,bar,baz | fzf --delimiter , --with-nth '{1},{3},{2},{1..2}'
+ echo foo,bar,baz | fzf --delimiter , --with-nth '{n},{1},{3},{2},{1..2}'
.RE
.TP
.BI "\-\-accept\-nth=" "N[,..] or TEMPLATE"
@@ -139,7 +140,8 @@ Define which fields to print on accept. The last delimiter is stripped from the
output. For advanced transformation, you can provide a template containing
field index expressions in curly braces. When you use a template, the trailing
delimiter is stripped from each expression, giving you more control over the
-output.
+output. \fB{n}\fR in template evaluates to the zero-based ordinal index of the
+line.
.RS
e.g.
@@ -147,7 +149,7 @@ e.g.
echo foo bar baz | fzf --accept-nth 2
# Template
- echo foo bar baz | fzf --accept-nth '1st: {1}, 2nd: {2}, 3rd: {3}'
+ echo foo bar baz | fzf --accept-nth 'Index: {n}, 1st: {1}, 2nd: {2}, 3rd: {3}'
.RE
.TP
.B "+s, \-\-no\-sort"