You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But that's quite a mouthful to write (and only works for bash, so it needs to be adapted by the user for another shell, such as fish or powershell for example).
While skim's approach may seem easier, it's not as flexible as the fzf's way. You can bind reload action to not just change event, but also to any key, and you can dynamically unbind and rebind it.
man fzf
)Info
Problem / Steps to reproduce
This is not a problem per say, but a feature request to make a common idea simpler.
Current state
Today, if you want to use fzf to interactively write shell commands, you can make use of the
change
andreload
binding as explained in https://github.com/junegunn/fzf#3-interactive-ripgrep-integration:But that's quite a mouthful to write (and only works for bash, so it needs to be adapted by the user for another shell, such as fish or powershell for example).
However, this is something
skim
allows by providing a specific option for this right away:And this will essentially do exactly the same thing (here
{}
takes the place of{q}
from the fzf example).Feature proposal
It would be pretty awesome if fzf could support the same thing, maybe as:
(and perhaps converting that case into the
change:reload
binding automatically for the user.The text was updated successfully, but these errors were encountered: