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

[Feature Request] Enable usage with notimeout set #175

Closed
ferguscollins opened this issue Mar 11, 2021 · 4 comments
Closed

[Feature Request] Enable usage with notimeout set #175

ferguscollins opened this issue Mar 11, 2021 · 4 comments

Comments

@ferguscollins
Copy link

ferguscollins commented Mar 11, 2021

Is your feature request related to a problem? Please describe.
I don't want to wait to be able to remember what keys I need to press and would prefer to see the guide immediately upon leader-press. To do this currently, timeout and timeoutlen=0 must be set which prevents all non-leader key combinations from being used as they instantly time out, making most of Vim's features unusable.

Describe the solution you'd like
If notimeout is set, immediately open the guide window upon leader press.

Describe alternatives you've considered

  1. If notimeout is set, wait a period of time specified by a plugin variable before opening the guide window, e.g. g:notimeout_guide_delay.
  2. The current situation where the plugin is unusable if notimeout is set.
@liuchengxu
Copy link
Owner

You can't use this plugin with set notimeout, see https://github.com/liuchengxu/vim-which-key#requirement.

@ferguscollins
Copy link
Author

ferguscollins commented Mar 11, 2021

Yes I am aware you currently can not use it with notimeout set, this is a feature request to enable the functionality described which is not currently offered by the plugin.

@liuchengxu
Copy link
Owner

That's not possible to my knowledge.

@ferguscollins
Copy link
Author

If notimeout is what prevents this, then another alternative could be to also allow global commands to be viewed in the guide window similar to #171.

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