Skip to content

--multi: select-all but stdout with same order #3584

Closed Answered by junegunn
LintaoAmons asked this question in Q&A
Discussion options

You must be logged in to vote

The default layout displays the items from the bottom up

seq 100 | fzf

And select-all respects the order.

If you don't like it, you can use reverse or reverse-list layout so that the display order matches the order of the output

seq 100 | fzf --layout=reverse
seq 100 | fzf --layout=reverse-list

or still use the default display order and reverse the output list after fzf using tac (or tail -r on macOS)

seq 100 | fzf | tac

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LintaoAmons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants