Saturday, July 30, 2022

Re: W32 GUI: Ctrl+- produces ^- and not ^_ any more (was: Control keys not working)

On Sat, Jul 30, 2022 at 10:40:12AM -0400, Salman Halim wrote:
> 0D works with NONE, but ctrl-_ does not. I'm using a US QWERTY layout. I'm
> not sure if my 8.2 is older than 4803, but things work on there.

That makes sense now, thanks for clarification.

Ctrl+something still works, just this specific case (Ctrl+-) is
stopped to work. I created an issue on the tracker to capture it,
feel free to add more details:

https://github.com/vim/vim/issues/10817

Basically until it is fixed, you can use following workaround:

imap <C--> TEST

With best regards, Anton

>
> Salman
>
> On Sat, Jul 30, 2022, 05:31 Anton Sharonov <anton.sharonov@gmail.com> wrote:
>
> >
> >
> > Salman Halim <salmanhalim@gmail.com> schrieb am Sa., 30. Juli 2022, 06:00:
> >
> >> Steven,
> >>
> >> They work everywhere else. Once again, they were working fine in GVim
> >> 8.2. Also, I've tried it on two different computers now. In fact, I just
> >> opened up an old GVim 8.1 I had lying around while typing this email
> >> message and they worked just fine.
> >>
> >
> >
> > Patch 8.2.4803 introduced radical change of how keyboard input is handled
> > in w32 gvim. It is however not clear, how your problem can be caused by it
> > (would be otherwise reported 100x times already - and it is not). Still,
> > may be you use some non- standard keyboard layout?
> >
> > Also please double check with -U NONE that stock Ctrl+d really not working?
> >
> > With best regards, Anton
> >
> >
> >> Salman
> >>
> >> On Fri, Jul 29, 2022, 23:55 Stan Brown <the_stan_brown@fastmail.fm>
> >> wrote:
> >>
> >>>
> >>> On 2022-07-29 19:54, Salman Halim wrote:
> >>> > As an addendum, here is a simple example that works (as in, doesn't
> >>> > work) even with gvim -u NONE -U NONE:
> >>> >
> >>> > imap <c-_> TEST
> >>> >
> >>> > Hitting <c-_> (I usually just hit control-hyphen, but
> >>> > control-shift-hyphen doesn't work, either) and just inserts a hyphen.
> >>> >
> >>> > On Fri, Jul 29, 2022 at 10:35 PM Salman Halim <salmanhalim@gmail.com
> >>> > <mailto:salmanhalim@gmail.com>> wrote:
> >>> >
> >>> > Hello,
> >>> >
> >>> > I'm using 32-bit GVim on Windows 10, 9.0 with patches 1-107, though
> >>> > I noticed this with just patches 1-27, also: when I hit control
> >>> keys
> >>> > in insert mode, it just inserts the key as if control hadn't been
> >>> > pressed.
> >>> >
> >>> > Simple example: 0<c-d>, which is supposed to delete all indent from
> >>> > the line. I just get a '0D' onscreen.
> >>> >
> >>> > I can accept that this might be caused by a plugin, but it wasn't
> >>> > happening in the 8.2 days, so thought I would mention it in case
> >>> > someone else had seen it, also.
> >>>
> >>> I wonder if this is a hardware problem.
> >>>
> >>> Do control keys still work normally in other programs? For example, when
> >>> you make a change to a document in Word or Outlook and then press
> >>> Ctrl+Z, is the change reverted, or do you see a Z inserted the document?
> >>>
> >>> Stan Brown
> >>> Tehachapi, CA, USA
> >>> https://BrownMath.com
> >>>
> >>> --
> >>> --
> >>> You received this message from the "vim_use" maillist.
> >>> Do not top-post! Type your reply below the text you are replying to.
> >>> For more information, visit http://www.vim.org/maillist.php
> >>>
> >>> ---
> >>> You received this message because you are subscribed to the Google
> >>> Groups "vim_use" group.
> >>> To unsubscribe from this group and stop receiving emails from it, send
> >>> an email to vim_use+unsubscribe@googlegroups.com.
> >>> To view this discussion on the web visit
> >>> https://groups.google.com/d/msgid/vim_use/a74657b9-cf05-f107-bf22-35d2c9191224%40fastmail.fm
> >>> .
> >>>
> >> --
> >> --
> >> You received this message from the "vim_use" maillist.
> >> Do not top-post! Type your reply below the text you are replying to.
> >> For more information, visit http://www.vim.org/maillist.php
> >>
> >> ---
> >> You received this message because you are subscribed to the Google Groups
> >> "vim_use" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an
> >> email to vim_use+unsubscribe@googlegroups.com.
> >> To view this discussion on the web visit
> >> https://groups.google.com/d/msgid/vim_use/CANuxnEexmP%3Dy9fC6jESCB9E_L1c9QGCw0G9Qkbmtr-gJmALJCQ%40mail.gmail.com
> >> <https://groups.google.com/d/msgid/vim_use/CANuxnEexmP%3Dy9fC6jESCB9E_L1c9QGCw0G9Qkbmtr-gJmALJCQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> >> .
> >>
> > --
> > --
> > You received this message from the "vim_use" maillist.
> > Do not top-post! Type your reply below the text you are replying to.
> > For more information, visit http://www.vim.org/maillist.php
> >
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "vim_use" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to vim_use+unsubscribe@googlegroups.com.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/vim_use/CAMoRF4%3DCh%3DFN4rUWXz4B53NeToqD_k5BscR8_HM-75%3DS_LTFuA%40mail.gmail.com
> > <https://groups.google.com/d/msgid/vim_use/CAMoRF4%3DCh%3DFN4rUWXz4B53NeToqD_k5BscR8_HM-75%3DS_LTFuA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> > .
> >
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CANuxnEfDa%3DmyyAU%2B68OaE_EQWf%2BWAVJNjwvhe8TBk_axDZRvSw%40mail.gmail.com.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YuUk/JP%2BsQf035Jo%40DESKTOP-75K4M1M.

No comments:

Post a Comment