Keyword Shortcuts in Jupyter Notebook
Keyword Shortcuts in Jupyter Notebook
1. Command Mode
2. End Mode
Command Mode ( Press Esc to enable ):
Enter: Enter edit mode
Ctrl + Enter: Run selected cells
Alt + Enter: Run cell,insert below
Shift + Enter: Run cell ,Select below
F: Find and replace
Ctrl + Shift + P: open the command and palette
Shift + L: Toggles line numbers in all cells, and continue the setting
Shift + Space: scroll Notebook up
Ctrl + S: Save and Checkpoint
S: Save and Checkpoint
Shift + K: extend selected cells above
Shift + Up: extend selected cells above
Shift + Down: extend selected cells below
Shift + J: extend selected cells below
Shift + M: merge selected cells, or current cell with cell below if only one cell
picked
Shift + O: toggle output scrolling of elected cells
Shift + Space: scroll Notebook up
Space: scroll Notebook down
V: paste cell below
L: toggle line numbers
O: toggle output of selected cells
Esc: Close the pager
I,I: interrupt kernel
0,0: restart the kernel
Z: undo cell deletion
H: show keyboard shortcuts
D,D: delete selected cell
M: to Markdown
B: insert cell below
C: copy cell
A: insert cell above
X: cut cell
C: copy cell
J: select cell below
K: select cell above
Y: to code
R: to raw
Up: select cell above
Down: select cell below
1: to heading 1
2: to heading 2
3: to heading 3
4: to heading 4
5: to heading 5
6: to heading 6
End Mode (Press Enter to enable ):
Tab: Code completion or indent
Shift + Tab: tooltip
Ctrl + Home: go to cell start
Ctrl + Up: go to cell start
Ctrl + ]: indent
Ctrl + [: indent
Ctrl + A: select all
Ctrl + Down: go to cell end
Ctrl + Left: go one word left
Ctrl + Z: undo
Ctrl + Right: go one word right
Ctrl + End: go to cell end
Ctrl + D: delete whole line
Ctrl + Shift + P: open the command palette
Ctrl + U: undo selection
Insert: toggle overwrite flag
Ctrl + M: enter command mode
Ctrl + /: comment
Esc: enter command mode
Ctrl + Delete: delete word after
Ctrl + Shift + F: open the command palette
Ctrl + Y: redo
Ctrl + Backspace: delete word before
Shift + Enter: run cell, select below
Ctrl + Shift + minus: split the cell at cursor
Alt + Enter: run cell and insert below
Ctrl + S: save and checkpoint
Up: move the cursor up
Down: move the cursor up
Ctrl + Enter: run selected cells