wrap prompt line #3653
-
Any way we can enable this? In the docs I found a "nowrap" only for the preview window but I'm looking for the prompt line. In normal situations I never needed this but I found myself doing a long filter on a file.. at the end I wanted to see the whole prompt line but the normal behavior is to truncate the prompt line, right? Ideas? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I believe this feature does not currently exist.
One alternative solution could be to assign a hotkey that alters the preview to display the 'prompt' By 'prompt', I assume you're referring to the 'query input', correct? # Generate a random string
long_query=$(LC_ALL=C tr -dc "[:alnum:]" </dev/urandom | head -c 400)
# '{q}' serves as a placeholder for the current query - see 'man fzf' for further details
: | fzf --query=$long_query --bind 'ctrl-t:change-preview:echo {q}' --preview-window 'wrap' Upon pressing ⌃ Control + T, the preview will show the current 'query input'. |
Beta Was this translation helpful? Give feedback.
I believe this feature does not currently exist.
One alternative solution could be to assign a hotkey that alters the preview to display the 'prompt'
in the preview.
By 'prompt', I assume you're referring to the 'query input', correct?
Upon pressing ⌃ Control + T, the preview will show the current 'query input'.