Tabbing produces strange behavior #14

Closed
alexbw opened this Issue Jan 4, 2014 · 28 comments
@alexbw

When I hit when autosuggestions is enabled, it deletes the previous line, and scrolls up the terminal. I'm using

https://github.com/skwp/dotfiles

When autosuggestions is disabled, this phenomena does not occur.

@dhovart

+1

@InAnimaTe

+1. Not using that same dotfiles repo, i use oh-my-zsh with the zsh-syntax-highlighting and zsh-completions. So not sure what is going on.

@mnapoli

+1, using zsh-syntax-highlighting and zsh-completions too.

@ratheesh
  • Even autojump does not work
@sporto

Same here

@rjhilgefort

+1, same as @mnapoli

@harryxu

+1

@faceleg

Try setting COMPLETION_WAITING_DOTS to false, as per Known Issues

@alexbw

@faceleg have set

export COMPLETION_WAITING_DOTS=false

which did not help

EDIT: lol DOTS not DOGS

@benjdlambert

@alexbw

its COMPLETION_WAITING_DOTS=false not DOGS.

@mnapoli

@benjdlambert so you mean to say, the dogs are not a feature?

@bachue

+1

@mefiblogger

+1

Same here with oh-my-zsh, steeef theme and plugins: brew, composer, fasd, git, jira, npm, sudo and wd.

@faceleg

Yes this plugin needs serious attention from someone with time and energy. This could be you!

@faceleg

Has this been addressed for you by the recent update?

@Alessandro-Barbieri

I can confirm that tabbing removes the previous line.

@twe4ked

I can also confirm the problem still exists with the most recent version. Thanks for all the work you guys (@faceleg, @jirutka, et al.) have been doing lately. I'd love for this plugin to work consistently.

@jirutka

@twe4ked Could you please provide us your .zshrc file, information about used terminal, ZSH version and operating system?

@twe4ked

Sure:

  • zsh 5.0.2 (x86_64-apple-darwin13.0)
  • OS X 1.9.5
  • iTerm 2 (recent nightly), the problem also exists in Terminal.app

Here is a "compiled" version of my .zshrc: https://gist.github.com/twe4ked/00cb0e5bfaa98e9cfac4

@twe4ked

Sorry, I'm an idiot. It was the completion waiting dots thing as mentioned in the README. I'm using a different version that doesn't have that environment variable so when I checked it I didn't notice it.

Edit: No longer broken for me.

@jirutka

@twe4ked No problem, I’m glad that it works for you now. 😺

@Alessandro-Barbieri Could you please ensure that you’re not using “completion waiting dots” feature?

@Alessandro-Barbieri

I put
export COMPLETION_WAITING_DOTS=false
in .zshrc
but the problem still remain.

@twe4ked

@Alessandro-Barbieri what output to you get if you run bindkey "^I"?

@Alessandro-Barbieri

Got "^I" expand-or-complete-with-indicator

@twe4ked

That looks like it's the problem. Search you zshrc for where that's being set.

Edit: looks like something from prezto: https://github.com/sorin-ionescu/prezto/blob/d3f14414812860d19bcadb68c555f6677e493610/modules/editor/init.zsh#L185

@Alessandro-Barbieri

Found: is in prezto
https://github.com/sorin-ionescu/prezto/blob/master/modules/editor/init.zsh
I removed it and it no more delete lines.
I think will affect #37

@jirutka

Great! I’ll update readme with troubleshooting and more information about this problem, and then we can close this issue.

@jirutka jirutka added a commit to jirutka/zsh-autosuggestions that referenced this issue May 22, 2015
@jirutka jirutka Readme: extend section Known issues (closes #14) 1bb25c0
@faceleg faceleg closed this in a796ce5 May 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment