zsh-autosuggestions icon indicating copy to clipboard operation
zsh-autosuggestions copied to clipboard

Not working on iterm2 3.4.15

Open Bayramito opened this issue 3 years ago • 3 comments

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

Bayramito avatar Mar 09 '22 09:03 Bayramito

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

dch09 avatar Mar 09 '22 14:03 dch09

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"

rawilk avatar Apr 22 '22 14:04 rawilk

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

  • iTerm2 | Preferences | Profiles
  • Select your profile
  • Select the Terminal tab
  • Change the Report terminal type to xterm-new
  • Repeat for any other profiles you use

Using iTerm Build 3.5.0beta6 with default key bindings.

ecerruti avatar Aug 12 '22 13:08 ecerruti