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

Strange behaviour #66

Open
cpfaff opened this issue Jan 8, 2016 · 5 comments
Open

Strange behaviour #66

cpfaff opened this issue Jan 8, 2016 · 5 comments

Comments

@cpfaff
Copy link

cpfaff commented Jan 8, 2016

He

I really like your plug-in and want to use it. But since I installed it I have some strange behaviour now and then the cursor seems to hang a bit and then something is inserted but I do not where it comes from. I know that this is not a really helpful description of the problem yet as it does not come with details or a description how to reproduce. However I just wanted to open this to let you know and then try to pin the thing down and add the information here. Or maybe you already have an idea what could cause that or can help me to pin down the problem so we can find a fix.

EDIT:

I use the plugin with neocomplete:

Thus my configuration is just adding this to my vim configuration as you write in your readme.

let g:tmuxcomplete#trigger = ''
@wellle
Copy link
Owner

wellle commented Jan 8, 2016

Thanks for bringing this up. But yeah that's not really enough information for me to know what's happening.

If you have many tmux sessions or windows there are many lines that need to be processed to find completion candidates. This might cause the delay you see. But if it's only slow sometimes, then it might be something different.

If there's only one match found, it might complete immediately. Could this explain the text that is being inserted? In that case it would be working as expected. Or is it something not found in any of your tmux windows? In that case it might help if you could tell me what gets inserted exactly.

And if there is an error, you might see something useful when you look at :messages. If so, please show me what you see there next time it happens.

@cpfaff
Copy link
Author

cpfaff commented Jan 8, 2016

Thanks for the fast answer and the first points to check out. I will observe it now more carefully and keep you updated with the details.

@cpfaff
Copy link
Author

cpfaff commented Jan 22, 2016

I think now I found something reproducible. When I type in insert mote an h for example writing Ich I geht Ichh. I get it twice no idea why. It is just directly inserted. If I remove your plugin then this does not happen anymore.

@cpfaff
Copy link
Author

cpfaff commented Jan 22, 2016

I also noticed that this is only happening in certain filetypes. In my vimrc it is working nicely whereas if I edit a mail with mutt and the filetype is mail it happens. In text files (ft=text) it happens as well.

@cpfaff
Copy link
Author

cpfaff commented Jan 22, 2016

Sometimes also other characters are inserted repeatedly.

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