-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline suggestions in zsh like zsh-autosuggestions #85
Comments
Also might be able to improve bash bindings using something like https://stackoverflow.com/questions/57811962/bind-up-arrow-key-to-fzf-command |
@cantino You might even be able to reuse zsh-autosuggestions itself. They added the ability to add “providers” to the suggestions (like inline suggestions for completions), and I think you can use that abstraction to easily add your history suggestions. (I have no further knowledge, I guess you can just open an issue and ask them.) |
Does not look very complex: https://github.com/zsh-users/zsh-autosuggestions/blob/master/src/strategies/history.zsh#L31 Could mcfly search just output all suggestions as lines instead of opening a TUI when it detects a non-tty file on stdout? |
The hacky work around is using this:
however it still tries to spawn a menu for a split-second. |
@cantino do you mean like what this does? https://github.com/Aloxaf/fzf-tab |
Not quite, Auto-suggestions show up without tabs. This hacky line extracts suggestions:
|
What would it take to make a zsh-autosuggestions completion hook for McFly?
The text was updated successfully, but these errors were encountered: