##// END OF EJS Templates
move hyphen to cmd_ctrl
Paul Ivanov -
Show More
@@ -13,12 +13,12 b' var IPython = (function (IPython) {'
13 13 var QuickHelp = function (selector) {
14 14 };
15 15
16 var cmd_ctrl = 'Ctrl';
16 var cmd_ctrl = 'Ctrl-';
17 17 var platform_specific;
18 18
19 19 if (platform === 'MacOS') {
20 20 // Mac OS X specific
21 cmd_ctrl = 'Cmd';
21 cmd_ctrl = 'Cmd-';
22 22 platform_specific = [
23 23 { shortcut: "Cmd-Up", help:"go to cell start" },
24 24 { shortcut: "Cmd-End", help:"go to cell start" },
@@ -60,13 +60,13 b' var IPython = (function (IPython) {'
60 60 { shortcut:"Insert", help:"toggle overwrite" },
61 61 { shortcut:"Tab", help:"code completion or indent" },
62 62 { shortcut:"Shift-Tab", help:"tooltip" },
63 { shortcut: cmd_ctrl + "-]", help:"indent" },
64 { shortcut: cmd_ctrl + "-[", help:"dedent" },
65 { shortcut: cmd_ctrl + "-a", help:"select all" },
66 { shortcut: cmd_ctrl + "-d", help:"delete line" },
67 { shortcut: cmd_ctrl + "-z", help:"undo" },
68 { shortcut: cmd_ctrl + "-Shift-z", help:"redo" },
69 { shortcut: cmd_ctrl + "-y", help:"redo" },
63 { shortcut: cmd_ctrl + "]", help:"indent" },
64 { shortcut: cmd_ctrl + "[", help:"dedent" },
65 { shortcut: cmd_ctrl + "a", help:"select all" },
66 { shortcut: cmd_ctrl + "d", help:"delete line" },
67 { shortcut: cmd_ctrl + "z", help:"undo" },
68 { shortcut: cmd_ctrl + "Shift-z", help:"redo" },
69 { shortcut: cmd_ctrl + "y", help:"redo" },
70 70 ].concat( platform_specific );
71 71
72 72
General Comments 0
You need to be logged in to leave comments. Login now