I've mapped <C-,>
as well as some other special keys (<C-Enter>
, <C-S-Space>
, ...) in my vimrc like,
:set <F13>=^[[44;5u
:map <F13> <C-,>
:map! <F13> <C-,>
and configured iTerm to send ^[[44;5u
when <C-,>
is typed.
(Note that ^[
is the ascii Escape character.)
It works great, but Vim flashes <80>ü^D,
in the showcmd area whenever I use <C-,>
. Here's a screenshot (see the bottom-right corner):
It doesn't inhibit the mapping or seem to cause any problems, I'm just curious what it indicates. None of my other special mappings (<C-Enter>
and the like) do this.
Do you know?
<80>ü^D,
is simply the way^[[44;5u
is internally represented in Vim, but I can't really track down why from the source code.insert
mode, try this: Hit<C-V>
and then<C-,>
this will insert the sequence of keys Vim tracked from Shell. Note<C-K>
is same as<C-V>
.