Path to this page:
Subject: CVS commit: pkgsrc/sysutils/fzf
From: Iku Iwasa
Date: 2025-02-16 09:04:53
Message id: 20250216080454.068BDFBE0@cvs.NetBSD.org
Log Message:
fzf: update to 0.60.0
* Added --accept-nth for choosing output fields
ps -ef | fzf --multi --header-lines 1 | awk '{print $2}'
# Becomes
ps -ef | fzf --multi --header-lines 1 --accept-nth 2
git branch | fzf | cut -c3-
# Can be rewritten as
git branch | fzf --accept-nth -1
* --accept-nth and --with-nth now support a template that includes multiple
field index expressions in curly braces
echo foo,bar,baz | fzf --delimiter , --accept-nth '{1}, {3}, {2}'
# foo, baz, bar
echo foo,bar,baz | fzf --delimiter , --with-nth '{1},{3},{2},{1..2}'
# foo,baz,bar,foo,bar
* Added exclude and exclude-multi actions for dynamically excluding items
seq 100 | fzf --bind 'ctrl-x:exclude'
# 'exclude-multi' will exclude the selected items or the current item
seq 100 | fzf --multi --bind 'ctrl-x:exclude-multi'
* Preview window now prints wrap indicator when wrapping is enabled
seq 100 | xargs | fzf --wrap --preview 'echo {}' --preview-window wrap
* Bug fixes and improvements
Files: