jupyter

From Codeium.

Command Mode (press Esc to enable)

  • Create a new cell above: A

  • Create a new cell below: B

  • Copy selected cells: C

  • Cut selected cells: X

  • Paste cells below: V

  • Paste cells above: Shift + V

  • Delete selected cells: D, D (press the key twice)

  • Undo cell deletion: Z

  • Move cell up: Arrow Up or Ctrl + K

  • Move cell down: Arrow Down or Ctrl + J

  • Save notebook: S

  • Enter edit mode: Enter

  • Change cell to code type: Y

  • Change cell to markdown type: M

  • Interrupt kernel: I, I (press the key twice)

  • Restart kernel: 0, 0 (press the key twice)

  • Open command palette: P

  • Toggle line numbers: L

  • Toggle cell output collapsed: O

  • Toggle cell output scrolled: Shift + O

  • Toggle header: Shift + H

  • Toggle toolbar: T

Edit Mode (press Enter to enable)

  • Run the current cell and select below: Shift + Enter

  • Run cell: Ctrl + Enter

  • Run the current cell and insert below: Alt + Enter

  • Toggle comment on selected lines: Ctrl + /

  • Indent: Tab

  • Dedent: Shift + Tab (also shows tooltips/documentation)

  • Select all: Ctrl + A

  • Cut text: Ctrl + X

  • Copy text: Ctrl + C

  • Paste text: Ctrl + V

  • Undo: Ctrl + Z

  • Redo: Ctrl + Shift + Z

For a complete list, you can press H in command mode in Jupyter Notebook to view all shortcuts.

Last updated