remove cm_keyboard.rst and OS-level shortcuts

pull/37/head
Paul Ivanov 12 years ago
parent c37e10feb2
commit 7d4aed19e8

@ -21,36 +21,22 @@ var IPython = (function (IPython) {
cmd_ctrl = 'Cmd-';
platform_specific = [
{ shortcut: "Cmd-Up", help:"go to cell start" },
{ shortcut: "Cmd-End", help:"go to cell start" },
{ shortcut: "PageUp", help:"go to cell start" },
{ shortcut: "Cmd-Down", help:"go to cell end" },
{ shortcut: "PageDown", help:"go to cell end" },
{ shortcut: "Alt-Left", help:"go one word left" },
{ shortcut: "Alt-Right", help:"go one word right" },
{ shortcut: "Cmd-Left", help:"go to line start" },
{ shortcut: "Home", help:"go to line start" },
{ shortcut: "Cmd-Right", help:"go to line end" },
{ shortcut:"End", help:"go to line end" },
{ shortcut:"Alt-Backspace", help:"del word before" },
{ shortcut:"Ctrl-Alt-Backspace", help:"del word after" },
{ shortcut:"Alt-Delete", help:"del word after" },
{ shortcut: "Opt-Left", help:"go one word left" },
{ shortcut: "Opt-Right", help:"go one word right" },
{ shortcut: "Opt-Backspace", help:"del word before" },
{ shortcut: "Opt-Delete", help:"del word after" },
];
} else {
// PC specific
platform_specific = [
{ shortcut: "Ctrl-Home", help:"go to cell start" },
{ shortcut: "Alt-Up", help:"go to cell start" },
{ shortcut: "PageUp", help:"go to cell start" },
{ shortcut: "Ctrl-End", help:"go to cell end" },
{ shortcut: "Ctrl-Down", help:"go to cell end" },
{ shortcut: "PageDown", help:"go to cell end" },
{ shortcut: "Ctrl-Left", help:"go one word left" },
{ shortcut: "Ctrl-Right", help:"go one word right" },
{ shortcut: "Alt-Right", help:"go to cell end" },
{ shortcut: "Alt-Left", help:"go to line start" },
{ shortcut: "Home", help:"go to line start" },
{ shortcut: "Alt-Right", help:"go to line end" },
{ shortcut: "End", help:"go to line end" },
{ shortcut: "Ctrl-Backspace", help:"del word before" },
{ shortcut: "Ctrl-Delete", help:"del word after" },
];
@ -63,7 +49,6 @@ var IPython = (function (IPython) {
{ shortcut: cmd_ctrl + "]", help:"indent" },
{ shortcut: cmd_ctrl + "[", help:"dedent" },
{ shortcut: cmd_ctrl + "a", help:"select all" },
{ shortcut: cmd_ctrl + "d", help:"delete line" },
{ shortcut: cmd_ctrl + "z", help:"undo" },
{ shortcut: cmd_ctrl + "Shift-z", help:"redo" },
{ shortcut: cmd_ctrl + "y", help:"redo" },

@ -394,10 +394,6 @@ Ctrl-m . restart kernel
Ctrl-m h show keyboard shortcuts
============ ==========================
.. seealso::
:ref:`Some additional Codemirror keyboard shortcuts <cm_keyboard>`
Plotting

Loading…
Cancel
Save