text: // CMD + 0
  module.exports.toActualSize = function() {
      var doc = NSDocumentController.sharedDocumentController().currentDocument();
      var contentDrawView = doc.contentDrawView();
      contentDrawView.zoomToActualSizeAnimated(true);
  }
  
  // CMD + 1
  module.exports.toFitCanvas = function() {
      var doc = NSDocumentController.sharedDocumentController().currentDocument();
      var contentDrawView = doc.contentDrawView();
      contentDrawView.centerLayersInCanvas();
  }
  
  // CMD + 2
  module.exports.toSelection = function() {
      var doc = NSDocumentController.sharedDocumentController().currentDocument();
      var contentDrawView = doc.contentDrawView();
      var rects = NSMutableArray.alloc().init();
      doc.selectedLayers().layers().forEach(function(layer) {
          rects.addObject(layer.frame());
      });
      contentDrawView.centerSelectionInVisibleArea();
      var rect = MSRect.rectWithUnionOfRects(rects);
      var newRect = CGRectMake(rect.x() - 25,rect.y() - 25, rect.width() + 50, rect.height() + 50);
      contentDrawView.zoomToFitRect(newRect);
  }