Skip to content

↑↓ moveEnter openEsc close

JupyterLab keyboard shortcuts cheat sheet

Every default JupyterLab shortcut on one printable page. Choose your system, then print or save as PDF.

JupyterLab keyboard shortcuts

Windows · version 4.4 · 39 shortcuts

Hotkeypediahotkeypedia.com

Running cells

  • Run the cell and select the nextShiftEnterShiftEnterShiftEnter
  • Run the cell and stayCmdEnterorCtrlEnterCtrlEnterCtrlEnter
  • Run the cell and insert one belowOptionEnterAltEnterAltEnter
  • Interrupt the kernelI,II,II,I
  • Restart the kernel0,00,00,0

Modes

  • Enter command modeEscEscEsc
  • Enter edit modeEnterEnterEnter

Cells (command mode)

  • Insert a cell aboveAAA
  • Insert a cell belowBBB
  • Delete the cellD,DD,DD,D
  • Cut the cellXXX
  • Copy the cellCCC
  • Paste the cell belowVVV
  • Paste the cell aboveShiftVShiftVShiftV
  • Undo the cell operationZZZ
  • Redo the cell operationShiftZShiftZShiftZ
  • Merge the selected cellsShiftMShiftMShiftM
  • Change the cell to MarkdownMMM
  • Change the cell to codeYYY
  • Change the cell to rawRRR
  • Make the cell a level 1 heading111
  • Make the cell a level 2 heading222
  • Select the cell above↑orK↑orK↑orK
  • Select the cell below↓orJ↓orJ↓orJ
  • Extend the selection upShift↑orShiftKShift↑orShiftKShift↑orShiftK
  • Extend the selection downShift↓orShiftJShift↓orShiftJShift↓orShiftJ
  • Show or hide line numbersShiftLShiftLShiftL

Editing (edit mode)

  • Complete the codeTabTabTab
  • Show the docstring tooltipShiftTabShiftTabShiftTab
  • Comment or uncommentCmd/Ctrl/Ctrl/
  • Split the cell at the cursorShiftCmd-CtrlShift-CtrlShift-

Interface

  • Open the command paletteShiftCmdCCtrlShiftCCtrlShiftC
  • Save the notebookCmdSCtrlSCtrlS
  • Show or hide the left sidebarCmdBCtrlBCtrlB
  • Show the file browserShiftCmdFCtrlShiftFCtrlShiftF
  • Toggle Simple Interface (one document)ShiftCmdDCtrlShiftDCtrlShiftD
  • Close the tabOptionWAltWAltW
  • Next tabShiftCmd]CtrlShift]CtrlShift]
  • Previous tabShiftCmd[CtrlShift[CtrlShift[
Default bindings for JupyterLab, version 4.4, checked against Project Jupyter's documentation.hotkeypedia.com/jupyterlab/cheat-sheet/

Every default JupyterLab shortcut in version 4.4, in the same groups as the full list. Pick a system, then print. The sheet is sized to fill a portrait A4 or Letter page (two pages for the longest apps); choose "Save as PDF" in the print dialog for a file. Rows showing a dash have no default binding on that system.