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): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| lhs | string | The key sequence to map. |
| rhs | string | What it is mapped to. |
| ctx? | VimKeyMappingContext | undefined | The 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.