There has long been some special case handling in the Win32 versions of Vim
and Gvim to allow you to omit the Shift when typing certain control
Ctrl-2 -> Ctrl-Shift-2 -> Ctrl-@ Shift-2 == @
Ctrl-6 -> Ctrl-Shift-6 -> Ctrl-^ Shift-6 == ^
Ctrl - -> Ctrl-Shift - -> Ctrl _ Shift - == _
Otherwise, Ctrl+digit combinations are thrown away.
Surer to prosper than prosperity
Could have assur'd us.
-- John Milton (1608-1674)
-- Paradise Lost, Book ii, Line 39
(Get Witty Auto-Generated Signatures from http://SmartBee.org)
George V. Reilly george@...
----- Original Message -----
From: "Myron Alexander" <MAlexander@...>
Sent: Monday, June 07, 2004 2:20 AM
Subject: RE: Mapping normal number keys
I tried the C-Q C-V C-1...0 combos. C-2 (^@), C-6 (^^) were picked up but
the others did not register as a keypress. My keyboard is set to US keymap
in Windows I have tried this with gvim -u NONE -U NONE as well, no luck.
BTW, slightly off topic, the e-mail system here is complaining that the list
bounce copy of the e-mails I send to the vim@... list are being spoofed.
This is because the from: portion of the message has my e-mail address. I
realise that this is probably done as a feature and I apologise for the
From: Antoine J. Mechelynck [mailto:antoine.mechelynck@...]
Sent: 05 June 2004 00:46
To: Myron Alexander
Subject: Re: Mapping normal number keys
Myron Alexander <MAlexander@...> wrote:
> Thanks for your help.
> It seems my copy of gVim 6.2/6.3b on Windows 2000 does not pick up
> the C-1,C-3..C-5,C-7..C-0 keys no matter what I set encoding; it
> seems the keys do not exist for windows version. Any suggestions?
[corporate disclaimer snipped]
Sorry, not from me. Maybe from someone else?
The people on this mailing list are mostly just plain "users" of (g)vim,
nothing more. Some of them may know more about one aspect of Vim's
functioning, others about another aspect. As long as you aren't straying
off-topic, please reply to the list (for instance by using the "Reply to
All" button), not "only" by private mail.
For those who haven't read the previous posts on this thread, it was about
not succeeding to map the Ctrl-1, Ctrl-2, ..., Ctrl-9, Ctrl-0 keys (i.e. the
keys on the top row of the alphabet keyboard when CTRL is pressed) on a W2K
BTW, Myron, how is your keyboard set up? What language and country? (Mine is
French_Belgium, for instance.) Also, have you tried, in gvim in Insert mode,
to press those Ctrl-<digit> keys prefixed by Ctrl-V (or by Ctrl-Q if your
Ctrl-V does a paste)? And what happened?
If you are not the intended recipient of this email (or such person's
authorised representative), then :
(a) please notify the sender of this email immediately by return email,
facsimile or telephone and delete this message from your system;
(b) you may not print, store, forward or copy this message or any part
thereof or disclose or cause information in this message to be
disclosed to any other person.
The information in or attached to this email message is confidential and may
be subject to legal privilege and client confidentiality.
In addition this message is subject to important restrictions,
qualifications and disclaimers ("the disclaimer") that must be accessed and
read by copying the following address into your Internet browser's address
bar : http://www.investec.com/emaildisclaimer/
The disclaimer also provides our corporate information and names of our
directors as required by law.
The disclaimer is deemed to form part of this message in terms of Section 11
of the Electronic Communications and Transactions Act 25 of 2002.
If you cannot access the disclaimer, please obtain a copy thereof from us by
sending an email to : disclaimer@...