code: function(platform, commands) {
      this.platform = platform;
      this.commands = {};
      this.commmandKeyBinding = {};
  
      this.addCommands(commands);
      
      this.setDefaultHandler("exec", function(e) {
          return e.command.exec(e.editor, e.args || {});
      });
  }
docs: class CommandManager
  
  
  
  
   
  new CommandManager(platform, commands)
  - platform (String): Identifier for the platform; must be either `'mac'` or `'win'`
  - commands (Array): A list of commands
  
  TODO