Is it possible to bind
<C-minus>, I actually do not know) in vim to something, like
What does it mean
<C--> in the default binding?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Perhaps you could make that binding work in gvim, but not in vim running in a terminal, because you are unlikely to find a keyboard configuration which sends a different sequence of characters for control/Minus. As a rule, the control modifier affects only a few non-alphabetic characters.
Here is a screenshot from
vttest, which happens to illustrate the usual set of control keys:
I'm using a UK keyboard where underscore is shift-minus, and I found I could map a key to
<C-_> (i.e. control-underscore) and it works with control-minus (though as @Thomas says above, not in a terminal window because that's predefined to zoom out)
I couldn't find that documented anywhere - it was just a hunch. I'm not sure what would happen on other keyboards.