• Gets a map of keyboard shortcuts to command names for the current platform.

    Parameters

    • editor: Editor

      An editor instance.

    Returns any[]

    Returns an array of objects representing the keyboard shortcuts for the given editor.

    Author

    Matthew Christopher Kastor-Inare III
    ☭ Hial Atropa!! ☭

    Example

    var getKbShortcuts = require('./get_keyboard_shortcuts');
    console.log(getKbShortcuts(editor));
    // [
    // {'command' : aCommand, 'key' : 'Control-d'},
    // {'command' : aCommand, 'key' : 'Control-d'}
    // ]

Generated using TypeDoc