Updates:
Labels: patch
Comment #10 on issue 319 by
chrisbr...@googlemail.com: New option to not
Here is a patch, that implements the 'bellon' option. If anybody has a
better name, I am all ear ;)
Anyway, Documentation like this:
*'bellon'* *'bo'*
'bellon' 'bo' string (default "bCceEghiLmoqrsSwy<")
global
{not in Vi}
This option lets you finetune, whenn a bell (visual or accustic) will
occur.
It is a list of flags, when the flag is set, on those occasions a bell
will b rung.
flag meaning when present ~
b error when pressing <BS> or <Del> in insert mode and the char
can't be deleted.
c Error occured when using |i_CTRL-X_CTRL-K| or |i_CTRL-X_CTRL-T|
C Fail to move around using the cursor keys or
<PageUp>/<PageDown> in insert mode.
e other Error occured (e.g. try to join last line)
E hitting <Esc> in normal mode
g unknown Char after <C-G> in insert mode
h error occued when using hangul input
i pressing <Esc> in 'insertmode'
L calling the beep module for Lua/Mzschem/TCL
m 'showmatch' error
o empty region error |cpo-E|
q In Visual mode, Hitting |Q|
r Unknown register after <C-R> in insert mode.
s Bell from shell output |:!|
S Error on spell suggest
w More matches in wild mode available
y can't copy char from insert mode using i_CTRL-Y or i_CTRL-E
< can't |g<|
This is most usefule, to finetune when in insert mode the bell should
be rung. For normal mode and ex commands, the bell is often rung to
indicate that an error occured. It can be silenced by removing the 'E'
flag then.
Build passed:
https://travis-ci.org/chrisbra/vim-ci/builds/48553540
Attachments:
beep_issue319 13.9 KB