Skip to content

CodeMirrorAdapterEx.vimKey method

CodeMirrorAdapterEx › vimKey

Unofficial

Convert a keyboard event to its Vim key representation.

Signature:

vimKey(event: KeyboardEvent): string

Parameters:

Parameter Type Description
event KeyboardEvent The keyboard event.

Returns: stringThe Vim key representation string.