Open w-r-z-k opened 2 years ago
This is issue was mentioned in vim-which-key repo here
You can find solution here
https://vi.stackexchange.com/questions/3964/timeoutlen-breaks-leader-and-vim-commentary
I experienced a similar problem with the vim fugitive plugin when timeoutlen was set to 100 milliseconds. The fugitive dd mapping to show a diff view did not work. Instead nvim interpreted this as a regular dd (delete line). Solved by setting timeoutlen to 300 milliseconds. Downside is that whichkey now takes longer to show up, but this is probably inevitable.
That is interesting... In all branches before 21-whichkey
the timeoutlen to 1000 milliseconds and Leader works fine. There is probably a setting between 100-1000 that may work better.
I hope I saw this post sooner. I spent two days on debugging this...
Setting timeoutlen to 100 milliseconds in the options file makes it appears like the leader key is not working.