From 3cf602486ce5cfaa50f33edbe179928f84527dc9 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 20 Oct 2024 07:59:43 +0800 Subject: feat(terminal)!: make 'belloff' and 'visualbell' apply to terminal bell (#30859) vim-patch:8.2.4744: a terminal window can't use the bell vim-patch:8.2.4745: using wrong flag for using bell in the terminal BREAKING CHANGE: Bells from :terminal are now silent by default, unless 'belloff' option doesn't contain "term" or "all". --- runtime/doc/news.txt | 2 ++ runtime/doc/options.txt | 2 ++ 2 files changed, 4 insertions(+) (limited to 'runtime/doc') diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 4027177dfe..f2338331fa 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -63,6 +63,8 @@ EDITOR • Moving in the buffer list using |:bnext| and similar commands behaves as documented and skips help buffers if run from a non-help buffer, otherwise it moves to another help buffer. +• Bells from a |terminal| buffer are now silent by default, unless 'belloff' + option doesn't contain "term" or "all". EVENTS diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 5dc1643ee3..e6065acb5e 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1015,6 +1015,7 @@ A jump table for the options with a short description can be found at |Q_op|. 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. @@ -1038,6 +1039,7 @@ A jump table for the options with a short description can be found at |Q_op|. 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). -- cgit