Skip to main content
Module

x/denops_std/option/mod.ts>keymap

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

{only available when compiled with the |+keymap| feature} Name of a keyboard mapping. See |mbyte-keymap|. Setting this option to a valid keymap name has the side effect of setting 'iminsert' to one, so that the keymap becomes effective. 'imsearch' is also set to one, unless it was -1 Only normal file name characters can be used, "/*?[|<>" are illegal.

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>; }