Jupyter Notebook Keyboard Shortcuts

Categories
Enterenter edit mode
Shift-­Enterrun cell, select below
Ctrl-Enterrun cell
Alt-Enterrun cell, insert below
Yto code
Mto markdown
Rto raw
1to heading 1
2,3,4,5,6to heading 2,3,4,5,6
Up/Kselect cell above
Down/Jselect cell below
A/Binsert cell above/­below
Xcut selected cell
Ccopy selected cell
Shift-Vpaste cell above
Vpaste cell below
Zundo last cell deletion
D,Ddelete selected cell
Shift-Mmerge cell below
Ctrl-SSave and Checkpoint
Ltoggle line numbers
Otoggle output
Shift-Otoggle output scrolling
Escclose pager
Hshow keyboard shortcut help dialog
I,Iinterrupt kernel
0,0restart kernel
Spacescroll down
Shift-­Spacescroll up
Shiftignore
Tabcode completion or indent
Shift-Tabtooltip
Ctrl-]indent
Ctrl-[dedent
Ctrl-Aselect all
Ctrl-Zundo
Ctrl-S­hift-Zredo
Ctrl-Yredo
Ctrl-Homego to cell start
Ctrl-Upgo to cell start
Ctrl-Endgo to cell end
Ctrl-Downgo to cell end
Ctrl-Leftgo one word left
Ctrl-Rightgo one word right
Ctrl-B­ack­spacedelete word before
Ctrl-D­eletedelete word after
Esccommand mode
Ctrl-Mcommand mode
Shift-­Enterrun cell, select below
Ctrl-Enterrun cell
Alt-Enterrun cell, insert below
Ctrl-S­hif­t-S­ubtractsplit cell
Ctrl-S­hift–split cell
Ctrl-SSave and Checkpoint
Upmove cursor up or previous cell
Downmove cursor down or next cell
Ctrl-/toggle comment on current or selected lines