Skip to content
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

Cannot leave insert mode #72

Open
justb3a opened this issue Oct 7, 2016 · 4 comments
Open

Cannot leave insert mode #72

justb3a opened this issue Oct 7, 2016 · 4 comments

Comments

@justb3a
Copy link

justb3a commented Oct 7, 2016

This is a really strange behaviour, maybe you have an idea what could cause this. I use the same setup on another mac (both macOS Sierra, Vim 8.0.3) and there's everything woking without any problem.

I use this plugin in combination with neocomplete. The package manager is dein.vim.
If I enter insert mode, I'm not able to leave it again. The only way to exit vim is to close the tmux session/window or to quite the whole terminal (same behaviour in terminal, iTerm, MacVim, it doesn't matter if I started a tmux session before or not).
If I enter "escape", ^[ gets typed.

test

If I uninstall wellle/tmux-complete.vim everything works as expected.

@wellle
Copy link
Owner

wellle commented Oct 7, 2016

Oh that is really strange. A few questions:

  1. What exactly were you typing in that gif?
  2. Does the same happen if you disable neocomplete?
  3. I can't see the tmux bar. Is the Vim instance in your gif running in a tmux instance?
  4. If not, was there any tmux instance still running?
  5. If there was a tmux instance running, did it have very many sessions/windows?

@justb3a
Copy link
Author

justb3a commented Oct 7, 2016

  1. It doesn't matter what I type, if the number of letters is reached until the autocompletion starts (in my case three letters: let g:neocomplete#auto_completion_start_length = 3) I cannot leave insert mode. If I type T E S T with a space after each letter, it's working.
  2. Nope, as soon as I disable neocomplete (let g:neocomplete#enable_at_startup = 0) everything goes back to normal (but neocomplete is essential for me)
  3. It doesn't matter whether I attach a tmux session or not. (The same problem exists if I open Applications/MacVim.app directly)
  4. yes, running but detached
  5. not at all, just two session containing two or three windows (much less as usual)

@wellle
Copy link
Owner

wellle commented Oct 7, 2016

Ok thanks for the input. I'll try to see if I can somehow reproduce that. But I'm afraid I won't be able to.

I could imagine to add some debug logs to tmux-complete to see where it gets stuck. Would you be willing to try that on your machine so we can see what's going on?

@justb3a
Copy link
Author

justb3a commented Oct 11, 2016

I could imagine to add some debug logs to tmux-complete to see where it gets stuck. Would you be willing to try that on your machine so we can see what's going on?

Definitely. I'm very curious about getting to know what causes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants