Tuesday, October 8, 2024

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

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





--
--
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/ZwUl2gh8P7TxL59s%40thechases.com.

No comments: