Jupyter Notebook keyboard shortcuts

Jupyter Notebook

Zeynel Abidin Öztürk -
10 months ago
- Shortcuts
  Press Esc to enable Command Mode.
⤶ Enter

Enter edit mode

↑   Shift + ⤶ Enter

Run cell, select below

Ctrl + ⤶ Enter

Run cell

Alt + ⤶ Enter

Run cell, insert below

Y

Go to code

M

Go to markdown

R

Go to raw

1

Go to heading 1

2

…to 6:  Go to heading 2, 3, 4, 5, 6

Select cell above

or K

Select cell below

or J
A

Insert cell above

B

Insert cell below

X

Cut selected cell

C

Copy selected cell

↑   Shift + V

Paste cell above

V

Paste cell below

Z

Undo last cell deletion

D then D

Delete selected cell

↑   Shift + M

Merge cell below

Ctrl + S

Save and Checkpoint

L

Toggle line numbers

O

Toggle output

↑   Shift + O

Toggle output scrolling

Esc

Close pager

H

Show keyboard shortcut help dialog

I then I

Interrupt kernel

0

Restart kernel

Space

Scroll down

↑   Shift + Space

Scroll up

↑   Shift

Ignore

  Press Enter to enable Edit Mode.
⭾ Tab

Code completion or indent

↑   Shift + ⭾ Tab

Tooltip

Ctrl + ]

Indent

Ctrl + [

Dedent

Ctrl + A

Select all

Ctrl + Z

Undo

Ctrl + ↑   Shift + Z

Redo

or Ctrl + Y
Ctrl + Home

Go to cell start

or Ctrl +
Ctrl + End

Go to cell end

or Ctrl +
Ctrl +

Go one word left

Ctrl +

Go one word right

Ctrl + ⬅ Backspace

Delete word before

Ctrl + Del

Delete word after

Esc

Command mode

or Ctrl + M
↑   Shift + ⤶ Enter

Run cell, select below

Ctrl + ⤶ Enter

Run cell

Alt + ⤶ Enter

Run cell, insert below

Ctrl + ↑   Shift + -

Split cell

Ctrl + S

Save and Checkpoint

Move cursor up or previous cell

Move cursor down or next cell

Ctrl + /

Toggle comment on current or selected lines

Ctrl + ↑   Shift + P

Command palette

↑   Shift + ⭾ Tab

Show the Docstring (documentation) for the the object you have just typed in a code cell

Ctrl + ↑   Shift + -

Split cell into two

Esc + F

Find and replace in code

Esc + O

Toggle cell output

↑   Shift + J

Select next cell in downwards direction

or ↑   Shift +
↑   Shift + K

Select cell above

or ↑   Shift +
↑   Shift + M

Merge multiple cells


Share this page on:

Table of contents


Program information

Program name: Jupyter Notebook Jupyter Notebook (Developer tools)

Jupyter Notebook is an open-source, web-based computing environment for creating live code, equations, visualizations, and narrative text.

Web page: https://jupyter.org

Shortcut count: 69

Similar programs


  1. Grand Theft Auto VGrand Theft Auto V
    53498   
  2. Keyboard symbolsKeyboard symbols
    45692    1
  3. Apex Legends (PC)Apex Legends (PC)
    36233   
  4. The Sims 4The Sims 4
    34162    3
  5. PlayerUnknown's BattlegroundsPlayerUnknown's Battleg
    33009    2
  6. Fortnite (PC)Fortnite (PC)
    31700    2
More keyboard shortcuts...

Advertisement

Subscribe to our mailing list!

Your email is kept private and we don't spam.

What is your favorite Jupyter Notebook hotkey? Do you have any useful tips for program? Let other users know below.