Show Menu

Jupyter Notebook Editor Keyboard Shortcuts by

Help and Shortcuts for Jupyter Editor
python     jupyter

Jupyter: Modes & Cell Types

2 Jupyter Modes
Edition Mode
[Intro] to Edition mode
Command Mode
[Esc] to Command Mode
3 Cell Types
Markdown texts or formats
Raw text, no format
Program code e.g. Python, grey cell, In[­n] before

Command Mode [ESC] key

Go to Edition Mode
⌃ ↩
[ctrl] ↩
Run Cell
⇧ ↩
Run Cell, Select Cell Under
⌥↩
[alt]↩
Run Cell, Insert Cell Below
m
Mark­down Cell
y
Code Cell
r
Raw Cell
1
Header 1
2
Header 2, and so on.. 3,4,5,6
↑ / ↓
Select before / after cell
k / m
Select before / after cell
a / b
Insert cell below / under
x
Cut Cell
c
Copy Cell
v
Paste Cell Under
⇧ v
Paste Cell Below
d d
Erase Cell
s / ⌘ S
Save and Checkpoint
L
Toggle Cell Numbers
o
Toggle Outputs
h
Show Help
␣ / ⇧␣
Scroll Screen Down / Up

Mac / Windows Keyboards Equiva­lences

Mac
Windows
Mac
Windows
[ctrl]
Control / ⌃
Option / [alt]
[Shift]
Enter / Return
[Intro]
Tabulation/ [Tab]
[Space]
[ctrl] Cont­rol
Note: The shortcuts may differ depending on your system config­ura­tion.

Command History Shorcuts

[Ctrl] p or
Access previous command in history
[Ctrl] n or
Access next command in history
[Ctrl] r
Revers­e-s­earch through command history

Miscel­laneous Shortcuts

[Ctrl] L
Clear terminal screen
[Ctrl] C
Interrupt current Python comman
[Ctrl] D
Exit IPython session
 

Edition Mode [Enter] / doble click

Mac
Windows
Keys, Meaning
[Esc]
[Esc]
Command Mode
⌘ m
[ctrl] m
Command Mode
Inde­nta­tion
[tab]
Indent , Complete Code
⇧ ⇥
⇧ [tab]
Outdent
⌘ ]
[ctrl] ]
Indent
⌘ [
[ctrl] [
Outdent
Navi­gation Shorcuts inside cell
⌥ ←
[alt] ←
1 word to left
⌥ →
[alt] →
1 word to right
⌥ ⌫
[alt] ⌫
Erase left word
⌥ ⌦
[alt] ⌦
Erase right word
⌘ a
[ctrl] a
begining of line
⌘ e
[ctrl] e
end of line
Cells
↑ / ↓
↑ / ↓
Cell Below / Cell Under
⌘ ↑
[ctrl] ↑
To First Cell
⌘ ↓
[ctrl] ↓
To Last cell
⌃⇧
[ctrl] ⇧
Split Cell
⌘ a
[ctrl] a
Select All
⌘ z
[ctrl] z
Undo
⌘ y
[ctrl] y
Redo, as [ctrl]⇧z
Text Entry
⌘ d
[ctrl] d
Erase next character
⌘ k
[ctrl] k
Cut text until end of line
⌘ u
[ctrl] u
Cut text until end of line
⌘ y
[ctrl] y
Paste
⌘ t
[ctrl] t
abba Transpose previous two characters

Markdown

Headings
Use # followed by a blank space for notebook titles and section headings:
# title
title (<h­1> tag)
## major headings
## major headings (<h­2> tag)
### subhea­dings
## subhea­dings (<h­3> tag), and so on
Font Formats
Text between symbol
**
Bold
*
Italic
Math­ema­tical Symbols
$x=y$
x=y
Line Break
<br>
Colors
<font color=­blu­e|r­ed|­gre­en|­pin­k|y­ell­ow>­tex­t</­fon­t>
Inde­nting
> text (remember the space)
Bull­ets
-
Numbered lists
1. (start)
Colored note boxes
end with </d­iv>
<div class=­"­alert alert-­block alert-­inf­o">
<div class=­"­alert alert-­block alert-­war­nin­g">
<div class=­"­alert alert-­block alert-­suc­ces­s">
Grap­hics
<img src="ur­l.g­if" alt="Text that describes the graphi­c" title=­"­Title text" />
Geom­etric shapes
Use this code with a decimal or hex reference number from: UTF-8 Geometric shapes &#­ref­ere­nce­_number
<p>I will display &#­965­8;<­/p>
Hori­zontal lines: Use 3 asteri­sks
Internal links
<a id="­sec­tio­n_I­D"><­/a>
Use this code for the link and make sure to test all the links! [section title]­(#s­ect­ion_ID)
External links
__[link text](­htt­p:/­/url)__
See: IBM Data Science Experience

Author: Jorge Juan L. C.

Ver. 1.5 July 2018
If you like it or it is useful to you, please donate 1$ in order to get good karma.
www.pa­ypa­l.m­e/j­org­eju­an007

Download the Jupyter Notebook Editor Keyboard Shortcuts

2 Pages
//media.cheatography.com/storage/thumb/jorgejuan007_jupyter-notebook-editor.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          More Cheat Sheets by jorgejuan007

          Laws of Human Stupidity Cheat Sheet