Zsh-autosuggestions: A little advice

Created on 3 Nov 2016  ·  4Comments  ·  Source: zsh-users/zsh-autosuggestions

Thank you for the tool,but, Can you add this small feature? incr.zsh

enhancement

Most helpful comment

ok this works for me (I had to change colour because with solarized dark theme was invisible)

ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=grey'
ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(
    "expand-or-complete"
    "pcomplete"
    "copy-earlier-word"
)
bindkey '^ ' autosuggest-accept

All 4 comments

auto-fu.zsh is essentially the successor to incr.zsh. And you can use both it and zsh-autosuggestions at the same time. My config does so, although my config is a rather interesting beast that I'm not sure people should be reading.

@PythonNut I want to use both auto-fu and autosuggestions so I tried your config, but is too big. There is a minimal way to get this two working together?

@Alessandro-Barbieri you might want to leave an issue on my config, so I won't forget to get to it.

ok this works for me (I had to change colour because with solarized dark theme was invisible)

ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=grey'
ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(
    "expand-or-complete"
    "pcomplete"
    "copy-earlier-word"
)
bindkey '^ ' autosuggest-accept
Was this page helpful?
0 / 5 - 0 ratings