-
Hello! Great plugin so far, but it would be nice if the functionality provided by the e.g. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Hi @degrix! Thank you for your kind words. Wow that is indeed a niche case! You got me interested in what you're doing, maybe I'd want to copy it. What do you mean preview long commands? What would you set for FZF_HISTORY_OPTS? Anyway, I'm currently leaning against it. The amount of extra work to document it and test it is pretty annoying. However, I am open to convincing and it shouldn't be hard for you, the user, to hack it together. May I suggest changing your key binding to this in the meantime? See the FAQ page on the new wiki. |
Beta Was this translation helpful? Give feedback.
-
My typical workflow involves making use of a lot of similar, but long, curl commands in my history that typically vary only slightly in their content. Picking which one is correct without being able to see the entire command is difficult without a preview window. I've attached a screen grab as an example of the preview window with a long command. The preview window is always visible even for short commands, be invaluable for long commands. In the past, I've been bitten once or twice by long commands in the history and choosing the wrong one. Most of the time that's benign, but if the command is destructive by nature, and happens to be tacked onto the end of a chain of commands, it may result in unwanted behavior. In any case, I've starred the repo and that bind allows me to workaround this issue that I have, so thanks for that! |
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing! I may build that into the plugin. |
Beta Was this translation helpful? Give feedback.
-
@degrix this has just been released with v6 https://github.com/PatrickF1/fzf.fish/releases/tag/v6.0! |
Beta Was this translation helpful? Give feedback.
@degrix this has just been released with v6 https://github.com/PatrickF1/fzf.fish/releases/tag/v6.0!