Skip to content

Use execute(-silent) on all selected lines #2773

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

You must be logged in to vote

Yes, with {+}.

fzf -m --bind 'space:execute:echo {+}; read'

See "PREVIEW" section of the man page.

A placeholder expression starting with + flag will be replaced to the space-separated list of the selected lines (or the current line if no selection was made) individually quoted.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by junegunn
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