Skip to content

VimApi.multiSelectHandleKey method

VimApi › multiSelectHandleKey

Unofficial

Match a key and run it against every selection, for editors with more than one.

Signature:

multiSelectHandleKey(cm: CodeMirrorEditor, key: string, origin?: string | undefined): boolean | undefined

Parameters:

ParameterTypeDescription
cmCodeMirrorEditorThe editor to act on.
keystringThe key that was pressed.
origin?string | undefinedWhere the key came from.

Returns: boolean | undefinedWhether the key was handled, or undefined when nothing matched.