Can I map the Tab key as the same style as Control plus another key? For example ,
<c-k> means press the Control and k keys together. I've tried
<tab-k> but it didn't work.
Assuming you mean "tab" not "tap"...
This is not possible purely in vim. You are basically asking vim to recognize Tab as a modifier key. The only keys that vim recognize as a modifier key are Shift, Ctrl, Alt/Meta, and, on Mac, Command. (See
And since vim cannot recognize keyup/keydown events, you cannot use vimscript to handle tab presses and pretend it's a modifier key.
The only way you could achieve this would be by hacking your keyboard's firmware/drivers and making the tab button work differently, which is beyond my knowledge and way beyond the scope of a vim question. I don't know if you could bind it as a custom modifier or if you'd have to remap it to one of the existing modifier keys.