From 41f58e7320ebf21d5ef95245a4c89d7e1b95ee94 2014-04-21 22:43:33 From: Jonathan Frederic <jdfreder@calpoly.edu> Date: 2014-04-21 22:43:33 Subject: [PATCH] Merge pull request #5574 from takluyver/i5569 Remove the outdated keyboard shortcuts from notebook docs --- diff --git a/docs/source/notebook/notebook.rst b/docs/source/notebook/notebook.rst index c963862..ecd1fae 100644 --- a/docs/source/notebook/notebook.rst +++ b/docs/source/notebook/notebook.rst @@ -349,52 +349,12 @@ to remember are the following: is thus a shortcut for the sequence :kbd:`Shift-Enter`, :kbd:`Ctrl-m a`. (:kbd:`Ctrl-m a` adds a new cell above the current one.) -* :kbd:`Ctrl-m`: - This is the prefix for *all* other shortcuts, which consist of :kbd:`Ctrl-m` - followed by a single letter or character. For example, if you type - :kbd:`Ctrl-m h` (that is, the sole letter :kbd:`h` after :kbd:`Ctrl-m`), - IPython will show you all the available keyboard shortcuts. - - -.. - TODO: these live in IPython/html/static/notebook/js/quickhelp.js - They were last updated for IPython 1.0 release, so update them again for - future releases. - -Here is the complete set of keyboard shortcuts available: - -============ ========================== -**Shortcut** **Action** ------------- -------------------------- -Shift-Enter run cell -Ctrl-Enter run cell in-place -Alt-Enter run cell, insert below -Ctrl-m x cut cell -Ctrl-m c copy cell -Ctrl-m v paste cell -Ctrl-m d delete cell -Ctrl-m z undo last cell deletion -Ctrl-m - split cell -Ctrl-m a insert cell above -Ctrl-m b insert cell below -Ctrl-m o toggle output -Ctrl-m O toggle output scroll -Ctrl-m l toggle line numbers -Ctrl-m s save notebook -Ctrl-m j move cell down -Ctrl-m k move cell up -Ctrl-m y code cell -Ctrl-m m markdown cell -Ctrl-m t raw cell -Ctrl-m 1-6 heading 1-6 cell -Ctrl-m p select previous -Ctrl-m n select next -Ctrl-m i interrupt kernel -Ctrl-m . restart kernel -Ctrl-m h show keyboard shortcuts -============ ========================== - +* :kbd:`Esc` and :kbd:`Enter`: Command mode and edit mode + In command mode, you can easily navigate around the notebook using keyboard + shortcuts. In edit mode, you can edit text in cells. +For the full list of available shortcuts, click :guilabel:`Help`, +:guilabel:`Keyboard Shortcuts` in the notebook menus. Plotting --------