Open shahrilnet opened 8 years ago
You're going to have to help me enable this as I don't use YCM. What can you use to tell that the autocomplete list is open so that we can disable hardtime temporarily?
Sincerely, I also don't know. I have googled but didn't found the answer.
But as I'm thinking, do you think it's much proper for YCM to disable vim-hardtime while it opens it autocomplete buffer or vim-hardtime should take care of this problem itself?
Hardtime should take of this issue. I don't have time to investigate YCM, hopefully someone else who runs into this issue can assist.
I didn't have time to look around either, but I configured YCM to cycle through suggestions using Tab and Enter.
let g:ycm_key_list_select_completion=[ '<TAB>', '<Enter>' ]
let g:ycm_key_list_previous_completion=[ '<S-TAB>', '<S-Enter>' ]
Note that the cycle backwards bindings do not work on vim (but do work on gvim), since the terminal does not forward control sequences.
@compor Your solution is much better, win-win situation for both plugins! :D
Is this issue supposed to be closed?
Whenever YCM is showing its autocomplete list, I can't just fast scrolling looking up modules that I want to use/explore. Here is what I meant by YCM autocomplete :
For this autocomplete, vim-hardtime will limit my scrolling movement for 1 second. So can we disable whenever this autocomplete popup appears and enable vim-hardtime back when popup disappears?