Skip to main content
Module

x/denops_std/mapping/types.ts>Mapping

📚 Standard module for denops.vim
Go to Latest
interface Mapping
import { type Mapping } from "https://deno.land/x/denops_std@v6.3.0/mapping/types.ts";

Properties

mode: Mode

Modes for which the mapping is defined

lhs: string

The {lhs} of the mapping

rhs: string

The {rhs} of the mapping as typed

noremap: boolean

True if the {rhs} of the mapping is not remappable

script: boolean

True if mapping was defined with

buffer: boolean

True for a buffer local mapping

optional
sid: number

The script local ID, used for mappings This attribute is missing if the Mapping is returned from list()

optional
lnum: number

The line number in "sid", zero if unknown This attribute is missing if the Mapping is returned from list()

optional
expr: boolean

True for an expression mapping This attribute is missing if the Mapping is returned from list()

optional
nowait: boolean

Do not wait for other, longer mappings This attribute is missing if the Mapping is returned from list()

optional
silent: boolean

True for a :map-silent mapping, else False This attribute is missing if the Mapping is returned from list()