gvim 8.2.773 (Big) with GTK3 GUI
:echo exists('+errorbells') exists('+visualbell') answers 1 1
My vimrc includes the following:
if exists('+errorbells') && exists('+visualbell')
set errorbells visualbell
if has('gui_running')
au GUIEnter * set t_vb= ^[\|250f
endif
endif
(in the autocmmand, the ^[ is a real Esc) and when I ask :verbose set
vb? t_vb? in the GUI the answer is
visualbell
Last set from ~/.vimrc line 437
t_vb=^[|250f
Last set from ~/.vimrc line 439
with the ^[ in blue and the rest in black
and yet, when I hit Esc in Normal mode in the GUI, nothing happens. No
sound, no temporary inversion of the background.
If I comment away the autocommand, t_vb is et at is defaut i.e ^[|f
but I still don't see any visualbell
Oh, and BTW 'belloff' is at its default (empty).
With the same vimrc and the same executable but invoked as "vim" in an
xterm, I see
t_vb=^[[?5h$<100/>^[[?5l
and there is a faint but discernible visualbell. In a konsole, t_vb
has the same value as in xterm and the visualbell is much more
visible.
Best regards,
Tony.
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CAJkCKXv4tvAwR7QDRFfua3VXiHCsfQfFMqFUbt%3D0BXNtZUjHLQ%40mail.gmail.com.