From 10af92ec77e6e05042d600ea4d5678d0b5941d39 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 25 Feb 2015 07:46:07 -0500 Subject: [PATCH] feature(cloudcmd) create: rm predefined key commands --- lib/client/edit.js | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/lib/client/edit.js b/lib/client/edit.js index 865e1baa..a30a74b0 100644 --- a/lib/client/edit.js +++ b/lib/client/edit.js @@ -117,46 +117,6 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO, Format, edward; } }); - edward.addCommand({ - name : 'goToLine', - bindKey : { win: 'Ctrl-G', mac: 'Command-G' }, - exec : function () { - edward.goToLine(); - } - }); - - edward.addCommand({ - name : 'save', - bindKey : { win: 'Ctrl-S', mac: 'Command-S' }, - exec : function() { - edward.save(); - } - }); - - edward.addCommand({ - name : 'saveMC', - bindKey : { win: 'F2', mac: 'F2' }, - exec : function() { - edward.save(); - } - }); - - edward.addCommand({ - name : 'beautify', - bindKey : { win: 'Ctrl-B', mac: 'Command-B' }, - exec : function() { - edward.beautify(); - } - }); - - edward.addCommand({ - name : 'minify', - bindKey : { win: 'Ctrl-M', mac: 'Command-M' }, - exec : function() { - edward.minify(); - } - }); - return this; };