Skip to main content
Module

x/denops_std/option/mod.ts>showmode

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

If in Insert, Replace or Visual mode put a message on the last line. Use the 'M' flag in 'highlight' to set the type of highlighting for this message. When XIM may be used the message will include "XIM". But this doesn't mean XIM is really active, especially when 'imactivatekey' is not set. NOTE: This option is set to the Vi default value when 'compatible' is set and to the Vim default value when 'compatible' is reset.

(Vim default: on, Vi default: off)

type

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