Skip to content

Prevent fzf from changing my selection without a keystroke? #3088

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

You must be logged in to vote

There is --sync option which blocks fzf until the whole input is ready.

My ideal solution to this would be: fzf never changes the selection unless I type something.

I don't think this is going to turn out great. For example, you start fzf, and you quickly type in the query string, but the possible candidates from the find command are not ready. So you get empty or suboptimal results. You have to delete and re-type the query string just to trigger the search.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@falsifian
Comment options

@junegunn
Comment options

@falsifian
Comment options

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