Show Menu
Cheatography

JuypterLab Keyboard Shortcuts (DRAFT) by

Keyboard shortcuts on how to navigate and run code in JupyterLab

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Naviation

edit mode to modify content
Enter
command mode to run code
Escape
Use
Esc
and
Enter
to toggle between command and edit mode. Notice the cell input border becomes blue in edit mode (grey in command mode).

when in command mode

use cursor keys to navigate
insert cell above
a
insert cell below
b
delete cell
dd

when in Edit mode

tab completion
Tab
toggle line comment
Cmd
+
/
in parent­hesis of function to display docstring
Shift
+
Tab
 

Running code, getting help

run cell and put cursor below
Shift + Enter
run cell and stay in cell
Control + Enter
get help / inform­ation on object / method
?name_­of_­object
(e.g. "­?pr­int­")
To run a cell of code, hit
Shift + Enter
. This executes the cell and puts the cursor in the next cell below (or makes a new one if you are at the end). Altern­ati­vely, you can use
Control + Enter
to execute the cell and keep the cursor in the same cell.