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:

Parameter Type Description
map string | Cm5KeyMap The key map to add.
bottom? boolean | undefined Whether to add the map at the bottom of the stack.

Returns: void