Skip to content

Cm5Editor.addKeyMap method

Cm5Editor › addKeyMap

Unofficial

Adds a key map to the editor.

Signature:

addKeyMap(map: string | Cm5KeyMap, bottom?: boolean | undefined): void

Parameters:

ParameterTypeDescription
mapstring | Cm5KeyMapThe key map to add.
bottom?boolean | undefinedWhether to add the map at the bottom of the stack.

Returns: void