2

Vim's help says Mac users can map command-key with <D-, so I wonder if PC users can map the Options key(between left ctrl&alt, hex code 0x66).

enter image description here

Is it possible? Thanks!

  • 1
    No, it's impossible without third party tools. That key is simply invisible to Vim. – romainl Sep 21 '16 at 12:28
2

Here are the results from pressing o, <C-o>, <M-o>, and Windows + o (in that order):

[~]% cat < /dev/stdin
o
^O
^[o
o

As you can see, a regular o and Windows + o aren't distinguished here.

As near as I can find, there is no way to fix this in either terminal Vim or Gvim :-( Many "solutions" simply remap the Windows key to Alt, but that is not a "solution" as far as I'm concerned...

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.