I have fixed it. It seems that I had to disable this in vim. I added the following to my vimrc
set vb t_vb= On Wednesday, October 11, 2023 at 8:23:43 PM UTC-5 Trey Blancher wrote: > George, > > That looks like tmux picking up a bell (0x07) character, and is an > indication > that the program on that window tried to alert the user for some reason. > In one > terminal emulator I have to use, there is an audible tone (typically the > system > alert tone on Windows) when the shell issues a bell character. > > How to turn it off in tmux I don't know, but you may be able to configure > vim to > not issue a bell character in the first place when you press Escape more > than > once, and that will avoid tmux picking it up. > > On Wed, Oct 11, 2023 at 02:02:55PM -0700, G M wrote: > >I have a small annoyance that I cannot seem to deal with. I often have > vim open > >in a window and will sometimes press escape a couple of times (just > habit) and > >then quickly switch windows. What happens is that the tmux panel will > highlight > >the vim window even though nothing happened besides a benign escape key > press > >being resolved. I included a screenshot of what it looks like. The window > "vim" > >gets highlighted in black. > > > >I don't really know what feature of tmux this is (so I have a hard time > >searching for it online) or if this is something I have to set in vim. I > tried > >set -g visual-bell off > >but it does not seem to work. Any help would be appreciated. > > > >George > > > >-- > >You received this message because you are subscribed to the Google Groups > >"tmux-users" group. > >To unsubscribe from this group and stop receiving emails from it, send an > email > >to [1]tmux-users+...@googlegroups.com. > >To view this discussion on the web, visit [2] > https://groups.google.com/d/msgid/ > >tmux-users/7034ae74-1f15-4734-9684-641779bee2b8n%40googlegroups.com. > > > >References: > > > >[1] mailto:tmux-users+...@googlegroups.com > >[2] > https://groups.google.com/d/msgid/tmux-users/7034ae74-1f15-4734-9684-641779bee2b8n%40googlegroups.com?utm_medium=email&utm_source=footer > > > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/fc66ed63-dac2-4b2a-9fbe-30252ac91d2en%40googlegroups.com.