0% found this document useful (0 votes)
172 views2 pages

Keyword Shortcuts in Jupyter Notebook

The document discusses keyboard shortcuts in Jupyter Notebook that allow performing operations quickly. There are two input modes - Command Mode accessed with Esc, and End Mode accessed with Enter. Shortcuts are provided for running and editing cells, changing cell types, commenting code, and more.

Uploaded by

sudha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
172 views2 pages

Keyword Shortcuts in Jupyter Notebook

The document discusses keyboard shortcuts in Jupyter Notebook that allow performing operations quickly. There are two input modes - Command Mode accessed with Esc, and End Mode accessed with Enter. Shortcuts are provided for running and editing cells, changing cell types, commenting code, and more.

Uploaded by

sudha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Keyword shortcuts in Jupyter Notebook

Keyword shortcuts are used to perform the various operations quickly.

Jupyter Notebook has two different keyword input mode:

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

You might also like