Help and Shortcuts for Jupyter Editor
|
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 |
|
|
↩
|
Go to Edition Mode
|
|
⌃ ↩
[ctrl] ↩ |
Run Cell
|
|
⇧ ↩
|
Run Cell, Select Cell Under
|
|
⌥↩
[alt]↩ |
Run Cell, Insert Cell Below
|
|
m
|
Markdown 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
|
Mac
|
Windows
|
|
⌘
|
|
[ctrl]
|
Control / ⌃
|
|
⌥
|
Option / [alt]
|
⇧
|
[Shift]
|
|
↩
|
Enter / Return
|
↩
|
[Intro]
|
|
⇥
|
Tabulation/ [Tab]
|
␣
|
[Space]
|
|
⌘
|
[ctrl] Control ⌃
|
||
|
[Ctrl] p or
|
Access previous command in history
|
|
[Ctrl] n or
|
Access next command in history
|
|
[Ctrl] r
|
Reverse-search through command history
|
|
[Ctrl] L
|
Clear terminal screen
|
|
[Ctrl] C
|
Interrupt current Python comman
|
|
[Ctrl] D
|
Exit IPython session
|
|
Mac
|
Windows
|
Keys, Meaning
|
|
[Esc]
|
[Esc]
|
Command Mode
|
|
⌘ m
|
[ctrl] m
|
Command Mode
|
|
Indentation
|
||
|
⇥
|
[tab]
|
Indent , Complete Code
|
|
⇧ ⇥
|
⇧ [tab]
|
Outdent
|
|
⌘ ]
|
[ctrl] ]
|
Indent
|
|
⌘ [
|
[ctrl] [
|
Outdent
|
|
Navigation 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
|
|
Headings
|
Use # followed by a blank space for notebook titles and section headings:
|
|
# title
|
title (<h1> tag)
|
|
## major headings
|
## major headings (<h2> tag)
|
|
### subheadings
|
## subheadings (<h3> tag), and so on
|
|
Font Formats
|
Text between symbol
|
|
**
|
Bold
|
|
*
|
Italic
|
|
Mathematical Symbols
|
|
|
$x=y$
|
x=y
|
|
Line Break
|
<br>
|
|
Colors
|
<font color=blue|red|green|pink|yellow>text</font>
|
|
Indenting
|
> text (remember the space)
|
|
Bullets
|
-
|
|
Numbered lists
|
1. (start)
|
|
Colored note boxes
|
end with </div>
|
|
<div class="alert alert-block alert-info">
|
|
|
<div class="alert alert-block alert-warning">
|
|
|
<div class="alert alert-block alert-success">
|
|
|
Graphics
|
|
|
<img src="url.gif" alt="Text that describes the graphic" title="Title text" />
|
|
|
Geometric shapes
|
Use this code with a decimal or hex reference number from: UTF-8 Geometric shapes &#reference_number
|
|
<p>I will display ►</p>
|
|
|
Horizontal lines: Use 3 asterisks
|
|
|
Internal links
|
<a id="section_ID"></a>
|
|
Use this code for the link and make sure to test all the links! section title
|
|
|
External links
|
|
|
__link text__
|
|
|
Ver. 1.5 July 2018
|
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.