• Insert cell above: Cmd + Shift + A
  • Insert cell below: Cmd + Shift + B
  • Delete the current cell: Cmd + Shift + D
  • Interrupt the Jupyter kernel: Cmd + Shift + F2
  • Restart the Jupyter kernel: Cmd + Shift + F4
  • Save the notebook: Cmd + S
  • Toggle line numbers: Cmd + Shift + L
  • Toggle the output of the current cell: Cmd + Shift + O
  • Toggle the markdown preview: Cmd + Shift + V

Command mode vs input mode - ESC to go to command mode

Commands:

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

  • Run the current cell and add new cell below: Cmd + Enter

  • dd - delete cell

  • a - new cell above (new cell is selected, and in command mode)

  • b - new cell below (new cell is selected, and in command mode)

  • L - toggle line numbering

While in a cell in command mode:

  • <Enter> - enter edit mode (whether markdown or code)
  • Undo - Cmd-z

VSCode shortcuts:

  • Cmd-Shift-P - open the VSCode command palette

Other References: