VimApi.findKey method
VimApi › findKey
Unofficial
Look up a key binding in the given editor and origin context.Signature:
findKey(cm: VimEditor, key: string, origin?: string | undefined): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| cm | VimEditor | The editor instance. |
| key | string | The key to look up. |
| origin? | string | undefined | The origin context for the lookup. |
Returns: boolean — Whether a binding was found and handled.