Can fzf go to the matched item's next item? #4117
-
For example:
In this case, if I type |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
One idea is to process the input by replacing two consecutive newline characters cat <<EOF | perl -0777 -pe 's/\n{2,}/\0/gm' | fzf --reverse --read0 --delimiter '\n' --bind 'enter:become:echo {2}'
name fb
type social
name rd
type forum
EOF Note The Footnotes |
Beta Was this translation helpful? Give feedback.
Attempt 2. Upon pressing Space, the
result
event is activated, the query iscleared, which triggers the
result
event and you move down.EDIT1:
--reverse
flag added