0% found this document useful (0 votes)
26 views

Command Mode (Press To Enable) Edit Shortcuts

This document lists keyboard shortcuts for Jupyter Notebook. It separates shortcuts into Command Mode and Edit Mode. Command Mode shortcuts include cutting, copying, pasting cells, running cells, saving notebooks, and toggling features like line numbers and outputs. Edit Mode shortcuts focus on cell navigation, code completion, indentation, selection, and undo/redo within a cell's content.

Uploaded by

jjdjdj
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Command Mode (Press To Enable) Edit Shortcuts

This document lists keyboard shortcuts for Jupyter Notebook. It separates shortcuts into Command Mode and Edit Mode. Command Mode shortcuts include cutting, copying, pasting cells, running cells, saving notebooks, and toggling features like line numbers and outputs. Edit Mode shortcuts focus on cell navigation, code completion, indentation, selection, and undo/redo within a cell's content.

Uploaded by

jjdjdj
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Command Mode (press Esc to

X : cut selected cells


enable)Edit Shortcuts
C : copy selected cells
F : find and replace
Shift-V : paste cells above
Ctrl-Shift-F : open the command
V : paste cells below
palette
Z : undo cell deletion
Ctrl-Shift-P : open the command
D , D : delete selected cells
palette
Shift-M : merge selected cells, or
Enter : enter edit mode
P : open the command palette current cell with cell below if only one

Shift-Enter : run cell, select below cell selected


Ctrl-S : Save and Checkpoint
Ctrl-Enter : run selected cells
S : Save and Checkpoint
Alt-Enter : run cell, insert below
L : toggle line numbers
Y : to code
O : toggle output of selected cells
M : to markdown
Shift-O : toggle output scrolling of
R : to raw
1 : to heading 1 selected cells
H : show keyboard shortcuts
2 : to heading 2
I , I : interrupt kernel
3 : to heading 3
0 , 0 : restart the kernel (with dialog)
4 : to heading 4
Esc : close the pager
5 : to heading 5
Q : close the pager
6 : to heading 6
Shift-L : toggles line numbers in all
K : select cell above
Up : select cell above cells, and persist the setting
Shift-Space : scroll notebook up
Down : select cell below
Space : scroll notebook down
J : select cell below
Edit Mode (press Enter to enable)
Shift-K : extend selected cells above
Tab : code completion or indent
Shift-Up : extend selected cells
Shift-Tab : tooltip
above
Ctrl-] : indent
Shift-Down : extend selected cells
Ctrl-[ : dedent
below
Ctrl-A : select all
Shift-J : extend selected cells below
Ctrl-Z : undo
A : insert cell above
Ctrl-Shift-Z : redo
B : insert cell below
Ctrl-Y : redo
Ctrl-Home : go to cell start
Ctrl-Up : go to cell start
Ctrl-End : go to cell end
Ctrl-Down : go to cell end
Ctrl-Left : go one word left
Ctrl-Right : go one word right
Ctrl-Backspace : delete word before
Ctrl-Delete : delete word after
Ctrl-M : command mode
Ctrl-Shift-F : open the command

palette
Ctrl-Shift-P : open the command

palette
Esc : command mode
Shift-Enter : run cell, select below
Ctrl-Enter : run selected cells
Alt-Enter : run cell, insert below
Ctrl-Shift-Minus : split cell
Ctrl-S : Save and Checkpoint
Down : move cursor down
Up : move cursor up

You might also like