(Bug ?) Sometimes { in insert mode triggers normal mode

26 views
Skip to first unread message

simo zz

unread,
Oct 8, 2024, 5:29:20 AMOct 8
to v...@vim.org

Hello,

I have noticed (on Linux) that pressing `'{' in insert mode, vim/gvim sometimes triggers the normal mode: I mean vim goes from insert to normal mode.

I do not have any mapping related to '{' in insert mode neither in normal mode.

The current version testes is v9.1.0764, but I noticed the problem also with v9.1.0748.ç

Cheers,

Simon

Tim Chase

unread,
Oct 8, 2024, 8:30:27 AMOct 8
to vim...@googlegroups.com
On 2024-10-07 17:11, simo zz wrote:
> I have noticed (on Linux) that pressing `'{' in insert mode, vim/gvim
> sometimes triggers the normal mode: I mean vim goes from insert to
> normal mode.
>
> I do not have any mapping related to '{' in insert mode neither in
> normal mode.

This sounds suspiciously like somehow control+[ is getting pressed
(which sends the same key-code as escape). Is there any chance you're
holding down control rather than shift when this happens? If you
log keystrokes at the OS level (such as with one of those used in
screen-casts), does it report control+[ instead of shift+[→escape?
It could also be a keyboard issue where a faulty contact is sending
control-modifier rather than a shift-modifier, so if you can try it with
a second keyboard (if you have a spare USB keyboard or can borrow one
for testing), it might help narrow things down.

-tim





simo zz

unread,
Oct 8, 2024, 8:45:44 AMOct 8
to vim...@googlegroups.com

Hi Tim,

I realized that the issue was due to a wrong keyboard layout.

S.


--
--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ZwUl2gh8P7TxL59s%40thechases.com.
Reply all
Reply to author
Forward
0 new messages