-
I wonder if it's possible to change (or even better to toggle) I've seen some examples using Is there any other way? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
No, there currently isn't a way. But adding it would be trivial. What is the exact use case? |
Beta Was this translation helpful? Give feedback.
-
Thank you for replying! That's good to know that internal logic is not preventing such behaviour after fzf is executed :) My usecase is similar to your example:
The length of my input entries (basically text documents) varies greatly - from 5 to 1000 lines. Most of them are short and browsing with fzf list is enough. But depending on the query I may end up with those bulky ones. They don't fit on the screen, occupies whole list and most of the time the match is not visible anyway. In such cases I prefer to 'fold' the document on the list to singe line with Currently I need to restart fzf with different options for such cases but using shortcut(s) to toggle them when needed would more comfortable. |
Beta Was this translation helpful? Give feedback.
-
Something related I was thinking about - would it be also trivial to toggle The use case would be 2-stage filtering, similar to your example here: https://junegunn.github.io/fzf/tips/ripgrep-integration/ This is already possible with another very useful approach - select all matching entries ('documents'), execute vim with {+f} and use BLines to perform second stage filtering. |
Beta Was this translation helpful? Give feedback.
See ca5e633 and e60a9a6.