dspereira004
dspereira004

Reputation: 91

Key binding in Vim - <C-ç> doesn't work

I cannot bind the key stroke and I don't know why. Can someone explain why this happens or if I'm doing something wrong?

Thanks in advance.

Upvotes: 2

Views: 775

Answers (1)

Ingo Karkat
Ingo Karkat

Reputation: 172748

Due to the way that the keyboard input is handled internally, this unfortunately isn't generally possible today, even in GVIM. Some key combinations, like Ctrl + non-alphabetic cannot be mapped, and Ctrl + letter vs. Ctrl + Shift + letter cannot be distinguished. (Unless your terminal sends a distinct termcap code for it, which most don't.)

In insert or command-line mode, try typing the key combination. If nothing happens / is inserted, you cannot use that key combination. This is a known pain point, and the subject of various discussions on vim_dev and the #vim IRC channel.

Upvotes: 3

Related Questions