Skip to main content
Module

x/denops_std/function/nvim/mod.ts>nvim_win_hide

📚 Standard module for denops.vim
Go to Latest
function nvim_win_hide
import { nvim_win_hide } from "https://deno.land/x/denops_std@v6.4.0/function/nvim/mod.ts";

Closes the window and hide the buffer it contains (like :hide with a window-ID).

Like :hide the buffer becomes hidden unless another window is editing it, or 'bufhidden' is unload, delete or wipe as opposed to :close or nvim_win_close(), which will close the buffer.

Attributes: not allowed when textlock is active

Parameters:

  • {window} Window handle, or 0 for current window

Parameters

denops: Denops
window: unknown

Returns

Promise<unknown>