Jupyter Notebook keyboard shortcuts

Jupyter Notebook  

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

Enter edit mode

3
↑  Shift + ⤶ Enter

Run cell, select below

12
Ctrl + ⤶ Enter

Run cell

6
Alt + ⤶ Enter

Run cell, insert below

0
Y

Go to code

4
M

Go to markdown

1
R

Go to raw

4
1

Go to heading 1

1
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
11
A

Insert cell above

0
B

Insert cell below

4
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

2
D then D

Delete selected cell

2
↑  Shift + M

Merge cell below

-1
Ctrl + S

Save and Checkpoint

2
L

Toggle line numbers

0
O

Toggle output

0
↑  Shift + O

Toggle output scrolling

0
Esc

Close pager

0
H

Show keyboard shortcut help dialog

0
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 +
0
Ctrl +

Go one word left

0
Ctrl +

Go one word right

0
Ctrl + Backspace

Delete word before

0
Ctrl + Del

Delete word after

-2
Esc

Command mode

0
or Ctrl + M
6
↑  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

14
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 favorites

Add to favorites

Advertisement


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


 
? Guest OP says : 19 months ago 10/7/2022 2:05 PM
I'd like to know how to group Jupyter Notebook rows and indent subrows to group text and code for instructional presentations.