Skip to content

In bash reverse-search, can I return the search query as-is? #3970

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

You must be logged in to vote

#3528

That's almost exactly what I wanted, I just needed a small tweak to let me emit the query even if there are results:

export FZF_CTRL_R_OPTS='--bind "ctrl-g:print-query"'

Which let's me hit Ctrl+g at any point during the search.

Thanks for pointing me in the right direction with FZF_CTRL_R_OPTS!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@simonschmidt
Comment options

Answer selected by simonschmidt
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