VimApi.unmap method
VimApi › unmap
Unofficial
Remove a user-defined mapping.Signature:
unmap(lhs: string, ctx?: VimKeyMappingContext | undefined): true | undefinedParameters:
| Parameter | Type | Description |
|---|---|---|
| lhs | string | The key sequence the mapping was made for. |
| ctx? | VimKeyMappingContext | undefined | The mode the mapping was made in. |
Returns: true | undefined — true when a mapping was removed, otherwise undefined.