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):

enter image description here

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?

  • In gvim, whenever you enter a command, it will be shown at the bottom right corner until the operation is completed. Say if you type 1800dd, until you type the last d, 1800d is shown. It might be like that feature.
    – SibiCoder
    Jun 13 '16 at 11:08
  • 6
    It looks like <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. Nov 17 '16 at 6:21
  • 3
    @Carpetsmoker that is correct. Nov 17 '16 at 8:44
  • In 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>.
    – Mamrezo
    Oct 22 '20 at 18:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.