import { op } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { belloff } = op;
Specifies for which events the bell will not be rung. It is a comma separated list of items. For each item that is present, the bell will be silenced. This is most useful to specify specific events in insert mode to be silenced. You can also make it flash by using 'visualbell'.
item meaning when present
all All events.
backspace When hitting <BS>
or <Del>
and deleting results in an
error.
cursor Fail to move around using the cursor keys or
/ in Insert-mode
.
complete Error occurred when using i_CTRL-X_CTRL-K
or
i_CTRL-X_CTRL-T
.
copy Cannot copy char from insert mode using i_CTRL-Y
or
i_CTRL-E
.
ctrlg Unknown Char after <C-G>
in Insert mode.
error Other Error occurred (e.g. try to join last line)
(mostly used in Normal-mode
or Cmdline-mode
).
esc hitting <Esc>
in Normal-mode
.
ex In Visual-mode
, hitting Q
results in an error.
hangul Ignored.
insertmode Pressing <Esc>
in 'insertmode'.
lang Calling the beep module for Lua/Mzscheme/TCL.
mess No output available for g<
.
showmatch Error occurred for 'showmatch' function.
operator Empty region error cpo-E
.
register Unknown register after <C-R>
in Insert-mode
.
shell Bell from shell output :!
.
spell Error happened on spell suggest.
term Bell from :terminal
output.
wildmode More matches in cmdline-completion
available
(depends on the 'wildmode' setting).
This is most useful to fine tune 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 occurred. It can be silenced by adding the "error" keyword.
(default "")