Skip to content

VimApi.noremap method

VimApi › noremap

Unofficial

Map one key sequence to another without allowing the result to be remapped further.

Signature:

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

Parameters:

ParameterTypeDescription
lhsstringThe key sequence to map.
rhsstringWhat it is mapped to.
ctx?VimKeyMappingContext | undefinedThe mode the mapping applies in. Omitted applies it in every mode.

Returns: void

Remarks:

Only maps to key sequences the built-in key map already defines.