I am using Vim 8.2 on XTerm(363) and use i3 version 4.19 as window manager on Arch Linux kernel version 5.4.89-1-lts. My i3 modifier key is the Windows key. When I use Win+h, Win+l, Win+k, or Win+j to move one window to the left, right, up, or down; Vim is catching these keyboard shortcuts and rings the terminal bell, when in normal mode, or inserts strange character sequences like the one below, when in insert mode.
<t_<fd>c><t_<fd>b>
<fd>
being highlighted in red meaning it is a special character.
It looks like <t_<fd>b>
appears when I make the XTerm with Vim the active window using Win+h, Win+j, Win+k, or Win+j and <t_<fd>c>
appears when I make a different window the active window using the same keyboard shortcuts when the XTerm with Vim was the active window before.
Also occurs with empty vimrc.
This hasn't happened before this day. How to get rid of it?
term
is?:help term.txt
is probably going to be relevant:set term?
isterm=xterm
. The codes described in:help term.txt
are indeed similar to the ones appearing on my Vim. Yet I couldn't findt_<fd>c
ort_<fd>b
anywhere. Maybe cause 0xfd is outside ASCII range? Maybe it is pointing to the Windows key?