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).
Is it possible? Thanks!
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityVim'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).
Is it possible? Thanks!
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...