zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
31.11k stars 1.86k forks source link

Not working on iterm2 3.4.15 #668

Open Bayramito opened 2 years ago

Bayramito commented 2 years ago

The plugin is not working at all on iterm2 v3.4.15 (latest)

dch09 commented 2 years ago

Same issue here. Tried reinstalling the plugin with no success.

rawilk commented 2 years ago

I've been having the same issue too and tried the same things with no luck. Then I came across this issue (#262), and doing what that suggested seems to work for me.

To find the color I wanted to use, I ran this in the terminal:

for code in {000..255}; do print -P -- "$code: %F{$code}Test%f"; done

Then in my .zshrc file, I added this to it with my color code selection:

ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=10"
ecerruti commented 2 years ago

In my case it was "working", at least keystrokes were being picked up, but only outputting control characters or doing something other than what it should. The fix that worked for me

Using iTerm Build 3.5.0beta6 with default key bindings.