##// END OF EJS Templates
remove cm_keyboard.rst and OS-level shortcuts
Paul Ivanov -
Show More
@@ -21,36 +21,22 b' var IPython = (function (IPython) {'
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" },
25 { shortcut: "PageUp", help:"go to cell start" },
26 { shortcut: "Cmd-Down", help:"go to cell end" },
24 { shortcut: "Cmd-Down", help:"go to cell end" },
27 { shortcut: "PageDown", help:"go to cell end" },
25 { shortcut: "Opt-Left", help:"go one word left" },
28 { shortcut: "Alt-Left", help:"go one word left" },
26 { shortcut: "Opt-Right", help:"go one word right" },
29 { shortcut: "Alt-Right", help:"go one word right" },
27 { shortcut: "Opt-Backspace", help:"del word before" },
30 { shortcut: "Cmd-Left", help:"go to line start" },
28 { shortcut: "Opt-Delete", help:"del word after" },
31 { shortcut: "Home", help:"go to line start" },
32 { shortcut: "Cmd-Right", help:"go to line end" },
33 { shortcut:"End", help:"go to line end" },
34 { shortcut:"Alt-Backspace", help:"del word before" },
35 { shortcut:"Ctrl-Alt-Backspace", help:"del word after" },
36 { shortcut:"Alt-Delete", help:"del word after" },
37 ];
29 ];
38 } else {
30 } else {
39 // PC specific
31 // PC specific
40 platform_specific = [
32 platform_specific = [
41 { shortcut: "Ctrl-Home", help:"go to cell start" },
33 { shortcut: "Ctrl-Home", help:"go to cell start" },
42 { shortcut: "Alt-Up", help:"go to cell start" },
34 { shortcut: "Alt-Up", help:"go to cell start" },
43 { shortcut: "PageUp", help:"go to cell start" },
44 { shortcut: "Ctrl-End", help:"go to cell end" },
35 { shortcut: "Ctrl-End", help:"go to cell end" },
45 { shortcut: "Ctrl-Down", help:"go to cell end" },
36 { shortcut: "Ctrl-Down", help:"go to cell end" },
46 { shortcut: "PageDown", help:"go to cell end" },
47 { shortcut: "Ctrl-Left", help:"go one word left" },
37 { shortcut: "Ctrl-Left", help:"go one word left" },
48 { shortcut: "Ctrl-Right", help:"go one word right" },
38 { shortcut: "Ctrl-Right", help:"go one word right" },
49 { shortcut: "Alt-Right", help:"go to cell end" },
39 { shortcut: "Alt-Right", help:"go to cell end" },
50 { shortcut: "Alt-Left", help:"go to line start" },
51 { shortcut: "Home", help:"go to line start" },
52 { shortcut: "Alt-Right", help:"go to line end" },
53 { shortcut: "End", help:"go to line end" },
54 { shortcut: "Ctrl-Backspace", help:"del word before" },
40 { shortcut: "Ctrl-Backspace", help:"del word before" },
55 { shortcut: "Ctrl-Delete", help:"del word after" },
41 { shortcut: "Ctrl-Delete", help:"del word after" },
56 ];
42 ];
@@ -63,7 +49,6 b' var IPython = (function (IPython) {'
63 { shortcut: cmd_ctrl + "]", help:"indent" },
49 { shortcut: cmd_ctrl + "]", help:"indent" },
64 { shortcut: cmd_ctrl + "[", help:"dedent" },
50 { shortcut: cmd_ctrl + "[", help:"dedent" },
65 { shortcut: cmd_ctrl + "a", help:"select all" },
51 { shortcut: cmd_ctrl + "a", help:"select all" },
66 { shortcut: cmd_ctrl + "d", help:"delete line" },
67 { shortcut: cmd_ctrl + "z", help:"undo" },
52 { shortcut: cmd_ctrl + "z", help:"undo" },
68 { shortcut: cmd_ctrl + "Shift-z", help:"redo" },
53 { shortcut: cmd_ctrl + "Shift-z", help:"redo" },
69 { shortcut: cmd_ctrl + "y", help:"redo" },
54 { shortcut: cmd_ctrl + "y", help:"redo" },
@@ -394,10 +394,6 b' Ctrl-m . restart kernel'
394 Ctrl-m h show keyboard shortcuts
394 Ctrl-m h show keyboard shortcuts
395 ============ ==========================
395 ============ ==========================
396
396
397 .. seealso::
398
399 :ref:`Some additional Codemirror keyboard shortcuts <cm_keyboard>`
400
401
397
402
398
403 Plotting
399 Plotting
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now