diff --git a/src/atom-application.coffee b/src/atom-application.coffee index c607c3e24..8fabee8c4 100644 --- a/src/atom-application.coffee +++ b/src/atom-application.coffee @@ -146,6 +146,18 @@ class AtomApplication { label: 'Open...', accelerator: 'Command+O', click: => @promptForPath() } ] + menus.push + label: 'Edit' + submenu:[ + { label: 'Undo', accelerator: 'Command+Z', selector: 'undo:' } + { label: 'Redo', accelerator: 'Command+Shift+Z', selector: 'redo:' } + { type: 'separator' } + { label: 'Cut', accelerator: 'Command+X', selector: 'cut:' } + { label: 'Copy', accelerator: 'Command+C', selector: 'copy:' } + { label: 'Paste', accelerator: 'Command+V', selector: 'paste:' } + { label: 'Select All', accelerator: 'Command+A', selector: 'selectAll:' } + ] + menus.push label: 'View' submenu:[