Skip to main content
Module

x/denops_std/option/mod.ts>belloff

📚 Standard module for denops.vim
Go to Latest
variable belloff
import { belloff } from "https://deno.land/x/denops_std@v4.1.4/option/mod.ts";

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 or 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 in Insert mode. error Other Error occurred (e.g. try to join last line) (mostly used in |Normal-mode| or |Cmdline-mode|). esc hitting in |Normal-mode|. ex In |Visual-mode|, hitting |Q| results in an error. hangul Ignored. insertmode Pressing 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 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.

type

{ get(denops: Denops): Promise<string>; set(denops: Denops, value: string): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<string>; setGlobal(denops: Denops, value: string): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }