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