Comments
-
Greg Hurrell
Tried to reproduce by creating a directory with those 4 files, but I get instant response.
Are there any hidden files or directories in that directory?
I also wonder if there is something fishy with your
'timeout'
,'ttimeout'
,'timeoutlen'
and/or'ttimeoutlen'
settings. ie. what is the output of::echo &timeout :echo &ttimeout :echo &timeoutlen :echo &ttimeoutlen
-
anonymous
No, there are no hidden files or directories in that directory. And the problem occurs on other directories as well.
timeout: 0 ttimeout: 1 timeoutlen: 1000 ttimeoutlen: 100
-
anonymous
I just want to add that most probably the
'notimeout'
setting caused my problem. I tried:set timeout
and now all seems to work. Thanks for your good guess on that and overall for the nice plugin. -
Greg Hurrell
Glad to hear it.
Yes, setting the timeout settings right can be fairly complicated. I'm by no means an expert on it but the values I settled on after studying the help for some time were:
timeout: 1 ttimeout: 0 timeoutlen: 1000 ttimeoutlen: 50
-
Greg Hurrell
One thing I forgot to make explicit in my comments about is that the the timeout settings on their own are probably not the cause here. It's probably a combination of the settings with the presence of a multi-key mapping which starts with the letter "c"; when you hit "c" VIM has to wait to see if you follow it with another key that might complete the mapping, and after a while it gives up.
So one way to avoid the delays is to tweak your timeout settings and the other is to analyze your normal mode mappings and see if you have any multi-key mappings that would be better off expressed in some other way (like using your
<Leader>
key, for example).Going to mark this one as closed for now. Let me know if you have any further comments.
-
Greg Hurrell
Status changed:
- From: new
- To: closed
Add a comment
Comments are now closed for this issue.