Replies: 1 comment
-
echo {13..10} | fzf --bind 'load:transform-query:echo {-1}' Footnotes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
the
replace-query
action takes whole line of the current selection to replace the query string with it.I am using it with the rg-fzf integration and the selection line is of the form
FILE:line_num:content
and I only want to use the content part of the line as my query string.Is there a way to ask
replace-query
to take the n-th argument?I have tried
Also tried
change-query({3..})
. But{3..}
doesn't get expanded inchange-query
.So I the work around I had is
transform(echo \"change-query(\$(echo {2..}))\")
which is a bit longBeta Was this translation helpful? Give feedback.
All reactions