Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

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

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_get_mode
import { nvim_get_mode } from "https://deno.land/x/denops_std@v3.9.0/function/nvim/mod.ts";

Gets the current mode. |mode()| "blocking" is true if Nvim is waiting for input. Return: ~ Dictionary { "mode": String, "blocking": Boolean } Attributes: ~ {fast}

Returns

Promise<unknown>