You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also think --accept-nth would complement --with-nth and --nth nicely for those users who don't want to mess with bindings and actions or don't understand replacing processes.
fzf -d : --with-nth 2.. --accept-nth 1
The text was updated successfully, but these errors were encountered:
Not sure how I feel about extending accept or print, but --accept-nth can be handy in many cases, replacing an awk or sed in the post-processing step. I've been reluctant to add this, because replacing awk or sed with another option is not very "Unix-y" thing to do, but fzf can be configured with a different delimiter, and you would have to repeat that delimiter with sed or awk, and they might interpret it differently, I'm changing my mind, I think this has a value.
Checklist
man fzf
)Output of
fzf --version
0.55.0
OS
Shell
Problem / Steps to reproduce
I propose adding placeholder expressions (i.e. {1}) for
accept
/print
actions.The command:
would turn into either:
I realize this is a nice to have.
I also think
--accept-nth
would complement--with-nth
and--nth
nicely for those users who don't want to mess with bindings and actions or don't understand replacing processes.The text was updated successfully, but these errors were encountered: