-
Notifications
You must be signed in to change notification settings - Fork 154
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
new Fish-style instant autosuggestions #17
Comments
Do you know about auto-fu.zsh ? It seems to be close to this, but uses completion system instead of history. |
@sunaku: I do not think this would be of much interest to me. I am not a fan of suggestions I have not asked for. When I suspect the long command is somewhere in my history file I just press repeatedly until the relevant command appears. Good luck with the project though! @nicoulaj: I am afraid the completion system works quite different from our history search. |
Thanks for the feedback guys. |
I like the new Fish auto suggestions. |
Check out predict-on zsh plugin. |
Thanks for this notification! Guido van Steen On Wed, Apr 3, 2013 at 4:33 PM, joe9 notifications@github.com wrote:
|
@joe9 thanks, that's pretty cool. ✨ Now, if only I could configure
|
@nicoulaj, auto-fu conflicts with zsh-syntax-highlighting and zsh-history-substring-search. |
Neither zsh-syntax-highlighting nor zsh-history-substring-search play well with predict-on. The former does not highlight and the latter searches for the entire line — both the typed portion and the prediction. Fish only searches for the typed portion of the line. Use the following to enable predict-on. autoload -U predict-on
zle -N predict-on
zle -N predict-off
bindkey '^X^Z' predict-on
bindkey '^X^A' predict-off
zstyle ':predict' verbose 'yes' The key bindings are arbitrary. Better ones ought to be found. |
@tarruda has ported Fish's autosuggestions to ZSH ✨ in https://github.com/tarruda/zsh-autosuggestions |
While the basic autosuggestion infrastructure is in place, the widget is very alpha. It would be great if a zle expert could send some patches |
zsh-autosuggestions should be more stable now. I also added some tweaks to make it play nicely with zsh-syntax-highlighting |
@tarruda your project is pretty cool, please get in touch if you want to host it in the zsh-users organization |
@nicoulaj sounds good, what do I have to do? |
@tarruda sorry for the delay, I forgot about this. I gave you the rights on the organization, so you can now transfer or create repositories in the organization. The only rules are:
Welcome! |
@nicoulaj, should Prezto be part of @zsh-users or should I keep it under my name? Do you consider it general enough? |
Yes, of course it fits in this organization. I gave you the rights too. Also, please note I'm not forcing anyone, I created this organization so that pet projects like this can be grouped together and have more visibility, People are free to come and go. So far it seems to work quite fine. |
Thank you. I'll keep it under my name for now, at least until I can tag it On Mon, Dec 2, 2013 at 1:58 PM, Julien Nicoulaud
|
The fish shell has developed a new, more powerful "autosuggestions" history search:
Can this be ported to ZSH? If so, let's start a new zsh-history-autosuggest script.
/cc @guidovansteen @sorin-ionescu @nicoulaj
The text was updated successfully, but these errors were encountered: