/jupyter-workshop

πŸͺ Material for the Jupyter notebooks workshops with edlab

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

Jupyter workshop

Material for the jupyter notebooks workshop with edlab

Notebooks resources

Keyboard shortcuts in Jupyter

The IPython Notebook has two different keyboard input modes. Edit mode allows you to type code/text into a cell and is indicated by a green cell border. Command mode binds the keyboard to notebook level actions and is indicated by a grey cell border.

MacOS modifier keys:

  • ⌘ : Command

  • βŒƒ : Control

  • βŒ₯ : Option

  • ⇧ : Shift

  • ↩ : Return

  • ␣ : Space

  • β‡₯ : Tab

Command Mode (press Esc to enable)

  • ↩ : enter edit mode

  • ⇧↩ : run cell, select below

  • βŒƒβ†© : run cell

  • βŒ₯↩ : run cell, insert below

  • Y : to code

  • M : to markdown

  • R : to raw

  • 1 : to heading 1

  • 2 : to heading 2

  • 3 : to heading 3

  • 4 : to heading 4

  • 5 : to heading 5

  • 6 : to heading 6

  • ↑ : select cell above

  • K : select cell above

  • ↓ : select cell below

  • J : select cell below

  • A : insert cell above

  • B : insert cell below

  • X : cut selected cell

  • C : copy selected cell

  • ⇧V : paste cell above

  • V : paste cell below

  • Z : undo last cell deletion

  • D,D : delete selected cell

  • ⇧M : merge cell below

  • S : Save and Checkpoint

  • ⌘S : Save and Checkpoint

  • L : toggle line numbers

  • O : toggle output

  • ⇧O : toggle output scrolling

  • Esc : close pager

  • Q : close pager

  • H : show keyboard shortcut help dialog

  • I,I : interrupt kernel

  • 0,0 : restart kernel

  • ␣ : scroll down

  • ⇧␣ : scroll up

  • ⇧ : ignore

Edit Mode (press Enter to enable)

  • β‡₯ : code completion or indent

  • ⇧β‡₯ : tooltip

  • ⌘] : indent

  • ⌘[ : dedent

  • ⌘A : select all

  • ⌘Z : undo

  • βŒ˜β‡§Z : redo

  • ⌘Y : redo

  • βŒ˜β†‘ : go to cell start

  • βŒ˜β†“ : go to cell end

  • βŒ₯← : go one word left

  • βŒ₯β†’ : go one word right

  • βŒ₯⌫ : delete word before

  • βŒ₯⌦ : delete word after

  • Esc : command mode

  • βŒƒM : command mode

  • ⇧↩ : run cell, select below

  • βŒƒβ†© : run cell

  • βŒ₯↩ : run cell, insert below

  • βŒƒβ‡§subtract : split cell

  • βŒƒβ‡§ : split cell

  • ⌘S : Save and Checkpoint

  • ↑ : move cursor up or previous cell

  • ↓ : move cursor down or next cell

  • ⇧ : ignore