Skip to main content
Module

x/denops_std/option/mod.ts>bufhidden

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

This option specifies what happens when a buffer is no longer displayed in a window: <empty> follow the global 'hidden' option hide hide the buffer (don't unload it), even if 'hidden' is not set unload unload the buffer, even if 'hidden' is set; the :hide command will also unload the buffer delete delete the buffer from the buffer list, even if 'hidden' is set; the :hide command will also delete the buffer, making it behave like :bdelete wipe wipe the buffer from the buffer list, even if 'hidden' is set; the :hide command will also wipe out the buffer, making it behave like :bwipeout

CAREFUL: when "unload", "delete" or "wipe" is used changes in a buffer are lost without a warning. Also, these values may break autocommands that switch between buffers temporarily. This option is used together with 'buftype' and 'swapfile' to specify special kinds of buffers. See special-buffers.

(default: "")

type

{ get(denops: Denops): Promise<string>; set(denops: Denops, value: string): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<string>; setLocal(denops: Denops, value: string): Promise<void>; resetLocal(denops: Denops): Promise<void>; }