For example, I have the following two mappings, which implement the function of sending esc with a click of ctrl,But I want the second mapping to take effect only when I press the key and release it within 500ms, and nothing if it exceeds 500ms.
In the actual use of the process, I think this timeout is quite helpful, otherwise often will accidentally touch the esc key
Thanks for the suggestion. Never heard of xcape or thought about this use case. Seems to be quite prevalent.
There is another similar request #32. I will think about how this could be achieved.
Thanks for the suggestion. Never heard of xcape or thought about this use case. Seems to be quite prevalent. There is another similar request #32. I will think about how this could be achieved.
For example, I have the following two mappings, which implement the function of sending
esc
with a click ofctrl
,But I want the second mapping to take effect only when I press the key and release it within 500ms, and nothing if it exceeds 500ms. In the actual use of the process, I think this timeout is quite helpful, otherwise often will accidentally touch the esc key