Keyboard Shortcuts for Jupyter Notebook

Are you finding the Keyboard shortcuts for Jupyter Notebook? Jupyter Notebook provides shortcuts to help you quickly work on documents. Here is the list of all shortcuts that you can use in Jupyter Notebook. This post will help you to check and make your Jupyter Notebook work faster with Most Used.

Command Mode (press Esc to enable) 

Keyboard Shortcuts (Windows)Menu Description
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
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
Iinterrupt kernel
0restart kernel
Spacescroll down
Shift+­Spacescroll up
Shiftignore

Edit Mode (press Enter to enable) 

Keyboard Shortcuts (Windows)Menu Description
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
Ctrl+S­hift+minussplit 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

Related Articles:

  Keyboard Shortcuts for GitHub Desktop

Well, there you have it, Jupyter Notebook shortcuts list. You might not have known about these shortcuts. If I’ve left important something out in this list, feedback is appreciated and welcome on the Make A Public List.

Feel free to comment below.

Was this article helpful?
YesNo

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.