diff --git a/lib/client/edit.js b/lib/client/edit.js index 6d4b0db0..0e79495b 100644 --- a/lib/client/edit.js +++ b/lib/client/edit.js @@ -177,12 +177,21 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO, Format; 'Go To Line Ctrl+L' : function() { editor.goToLine(); }, - 'Select All Ctrl+A' : function() { - editor.selectAll(); + 'Cut Ctrl+X' : function() { + editor.cutToClipboard(); + }, + 'Copy Ctrl+C' : function() { + editor.copyToClipboard(); + }, + 'Paste Ctrl+X' : function() { + editor.pasteFromClipboard(); }, 'Delete Del' : function() { editor.remove('right'); }, + 'Select All Ctrl+A' : function() { + editor.selectAll(); + }, 'Beautify Ctrl+B' : function() { editor.beautify(); },