Skip to content

Instantly share code, notes, and snippets.

@hfogelberg
Created July 18, 2017 13:37
Show Gist options
  • Save hfogelberg/8210c1bcc3f92dd71cd21cad23654d55 to your computer and use it in GitHub Desktop.
Save hfogelberg/8210c1bcc3f92dd71cd21cad23654d55 to your computer and use it in GitHub Desktop.
Python Notebook Shortcuts
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment