Trim visual select grep #2088
Unanswered
zeta-squared
asked this question in
Q&A
Replies: 1 comment
-
If you set the prompt to something it won’t be overwritten: :FzfLua grep search=foo prompt=>
-- Also applies when starting from live grep
:FzfLua live_grep prompt=> |
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.
-
This isn't necessarily restricted to the visual select grep, this also is possible when switching between regex and fuzzy.
Essentially, the regex string is "pre-filled" when you switch to fuzzy, or you visual select grep. Sometimes this string is quite long taking up the entire length of the input section of the FZF floating window. Is there anyway to trim the length of this text?
This happens in particular for me when using fzf-lua with todo-comments. I have attached a screenshot below for reference of what I am talking about. Here the pink text is the regex that I would like to shorten so I can see what I am typing during fuzzy searching.
Beta Was this translation helpful? Give feedback.
All reactions