In Vim there are certain built-in compound commands which have no timeout, for example: g waits forever for the next keystroke. I would like to create my custom compound binding to behave like that. But, preferably, other bindings shouldn’t be affected (I imply the possibility of using set notimeout setting here). If that’s not possible to achieve for a particular binding then I guess I have to fall back to set notimeout setting. So are there any suggestions?
In Vim there are certain built-in compound commands which have no timeout, for example:
Share
If you are fine with not working
showcmdand cursor positioned in bottom-right corner while pending for next character then usegetchar():.