Skip to content

VimApi.map method

VimApi › map

Unofficial

Create a recursive key mapping from lhs to rhs in the given context.

Signature:

map(lhs: string, rhs: string, ctx?: string | undefined): void

Parameters:

Parameter Type Description
lhs string The left-hand side key sequence.
rhs string The right-hand side key sequence or command.
ctx? string | undefined The mapping context.

Returns: void