Constructor
new KeymapConfig()
Methods
(static) desktop() → {object}
Return the desktop keymap configuration object. This is the same as full().
Returns:
A JavaScript object with settings for desktop-style usage.
- Type
- object
(static) fromJSON(string) → {object}
Return a keymap configuration object, but defined from a stringified JSON object.
Parameters:
| Name | Type | Description |
|---|---|---|
string |
string | A stringified object, perhaps used as an external definition of a keymap configuration |
Returns:
An object parsed from the JSON in string, should contain data for all properties
- Type
- object
(static) full() → {object}
Return a keymap configuration object with all options enabled.
Returns:
A JavaScript object with all options enabled.
- Type
- object
(static) markdown() → {object}
Return the Markdown-oriented keymap configuration object. This keymap excludes underline, and subscript/superscript.
Returns:
A keymap configuration object with Markdown-oriented settings.
- Type
- object
(static) standard() → {object}
Return a default keymap configuration object, corresponding to Markdown.
Returns:
A JavaScript object with Markdown-oriented settings.
- Type
- object