From 7d4aed19e86836e4fd2d5c68c12562bb3bc596fb Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Fri, 28 Mar 2014 17:01:32 -0700 Subject: [PATCH] remove cm_keyboard.rst and OS-level shortcuts --- IPython/html/static/notebook/js/quickhelp.js | 23 ++++---------------- docs/source/notebook/notebook.rst | 4 ---- 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/IPython/html/static/notebook/js/quickhelp.js b/IPython/html/static/notebook/js/quickhelp.js index 13a8772f0..e28ccfee7 100644 --- a/IPython/html/static/notebook/js/quickhelp.js +++ b/IPython/html/static/notebook/js/quickhelp.js @@ -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" }, diff --git a/docs/source/notebook/notebook.rst b/docs/source/notebook/notebook.rst index c0a4880dd..98a930b4d 100644 --- a/docs/source/notebook/notebook.rst +++ b/docs/source/notebook/notebook.rst @@ -394,10 +394,6 @@ Ctrl-m . restart kernel Ctrl-m h show keyboard shortcuts ============ ========================== -.. seealso:: - - :ref:`Some additional Codemirror keyboard shortcuts ` - Plotting