Vim map key combination of Control and Dash

key-bindingvim

Is it possible to bind <C-->
(or <C-dash> or <C-minus>, I actually do not know) in vim to something, like <C-W><C-Q>?

What does it mean <C--> in the default binding?

Best Answer

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:

enter image description here

Related Question