Jupyter Notebook keyboard shortcuts 

Jupyter Notebook    

Zeynel -
6 years ago
- Shortcuts
Press Esc to enable Command Mode.
5
⤶ Enter

Enter edit mode

3
↑  Shift + ⤶ Enter

Run cell, select below

12
Ctrl + ⤶ Enter

Run cell

6
Alt + ⤶ Enter

Run cell, insert below

1
Y

Go to code

4
M

Go to markdown

1
R

Go to raw

3
1

Go to heading 1

0
2

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

-1

Select cell above

1
or K
4

Select cell below

3
or J
12
A

Insert cell above

0
B

Insert cell below

5
X

Cut selected cell

2
C

Copy selected cell

0
↑  Shift + V

Paste cell above

0
V

Paste cell below

1
Z

Undo last cell deletion

1
D then D

Delete selected cell

2
↑  Shift + M

Merge cell below

-1
Ctrl + S

Save and Checkpoint

3
L

Toggle line numbers

0
O

Toggle output

1
↑  Shift + O

Toggle output scrolling

0
Esc

Close pager

0
H

Show keyboard shortcut help dialog

1
I then I

Interrupt kernel

3
0

Restart kernel

0
Space

Scroll down

2
↑  Shift + Space

Scroll up

0
↑  Shift

Ignore

Advertisement

  Press Enter to enable Edit Mode.
0
Tab

Code completion or indent

8
↑  Shift + Tab

Tooltip

0
Ctrl + ]

Indent

9
Ctrl + [

Dedent

2
Ctrl + A

Select all

0
Ctrl + Z

Undo

-1
Ctrl + ↑  Shift + Z

Redo

1
or Ctrl + Y
-1
Ctrl + Home

Go to cell start

0
or Ctrl +
1
Ctrl + End

Go to cell end

0
or Ctrl +
1
Ctrl +

Go one word left

1
Ctrl +

Go one word right

1
Ctrl + Backspace

Delete word before

1
Ctrl + Del

Delete word after

-2
Esc

Command mode

0
or Ctrl + M
7
↑  Shift + ⤶ Enter

Run cell, select below

1
Ctrl + ⤶ Enter

Run cell

1
Alt + ⤶ Enter

Run cell, insert below

0
Ctrl + ↑  Shift + -

Split cell

0
Ctrl + S

Save and Checkpoint

Advertisement

0

Move cursor up or previous cell

0

Move cursor down or next cell

13
Ctrl + /

Toggle comment on current or selected lines

3
Ctrl + ↑  Shift + P

Command palette

11
↑  Shift + Tab

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

1
Ctrl + ↑  Shift + -

Split cell into two

-1
Esc + F

Find and replace in code

-1
Esc + O

Toggle cell output

1
↑  Shift + J

Select next cell in downwards direction

1
or ↑  Shift +
0
↑  Shift + K

Select cell above

0
or ↑  Shift +
3
↑  Shift + M

Merge multiple cells


Share this page on:
Is this page helpful?
2 1

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: jupyter.org

Last update: 9/9/2020 7:37 AM UTC

How easy to press shortcuts: 86%

More information >>

Shortcut count: 69

Platform detected: Windows or Linux

Headline image :

Similar programs



User operations

Add Jupyter Notebook to your list of favorites

Advertisement


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


Only registered users can post links.
 
? Guest OP says: 2 years ago 10/7/2022 12:05 PM
I'd like to know how to group Jupyter Notebook rows and indent subrows to group text and code for instructional presentations.