0

What I want to do is have two mappings. One mapped to <s-k>, and one mapped to <s-k><s-k>. What happens right now is that if I press <s-k> vim delays for timeoutlenms, and if I don't press anything it does the <s-k> action, and if I press another <s-k> in that time it does the <s-k><s-k> action.

However, what I want it to do is do both, i.e. if I press <s-k> it will do the <s-k> action immediately, and if I press another <s-k> in the timeoutlen period, it will do the second command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.