[For complete beginners] Jupyer Lab shortcut memo [Mac]

Overview Here are some shortcuts that you should keep to a minimum when using JupyterLab. Shortcuts common to Mac and those installed in general editors are omitted and will be updated at any time.

Shortcut list

⇧: Shift key ⌥: Option key ⌘: Command key ⇥: tab key ↩︎: Enter (return) key

Basic operation system

command operation
Y Switch the target cell to Code type
M Switch the target cell to Markdown type
R Switch the target cell to Raw type
↩︎ Switch to edit mode for the target cell
^M, ESC Return from edit mode to command mode
D, D Delete the selected cell (in command mode)
⌘ + S Save

Mobile system

command operation
j Move cursor down (only in command mode)
k Move the cursor up (only in command mode)
⌥ + ⇥ Move down cell in edit mode (only in edit mode)
⇧ + ⌥ + ⇥ Move the cell in edit mode up (only in edit mode)

Code input system

command operation
⌘ + / Comment out
Input completion, display of candidates
⇧ + ⇥ Show method definition

It was surprising that input completion worked.

Displaying method definitions is convenient because options etc. are also displayed. image.png

Execution system

command operation
^ + ↩︎ Run (do not move) cell
⇧ + ↩︎ Run cell and move to lower cell
⌥ + ↩︎ Execute cell and create new cell below

Shortcut customization

Shortcuts can be customized from Settings> Advanced Settings Editor (⌘ +,)> Keyboard Shortcuts. Details will be provided at a later date.

Recommended Posts

[For complete beginners] Jupyer Lab shortcut memo [Mac]
Memo # 4 for Python beginners to read "Detailed Python Grammar"
For beginners to build an Anaconda environment. (Memo)
kivy-ios memo kivy v1.8.0 for new toolchain (MAC)
Memo # 3 for Python beginners to read "Detailed Python Grammar"
Memo # 1 for Python beginners to read "Detailed Python Grammar"
Memo # 2 for Python beginners to read "Detailed Python Grammar"
Memo # 7 for Python beginners to read "Detailed Python Grammar"
Memo # 6 for Python beginners to read "Detailed Python Grammar"
[For beginners] How to study programming Private memo
Memo # 5 for Python beginners to read "Detailed Python Grammar"
Roadmap for beginners
Kivy-Android Memo (MAC)
Building a Python environment for programming beginners (Mac OS)