Show Menu
Cheatography

Jupyter Notebook Editor Keyboard Shortcuts by

Help and Shortcuts for Jupyter Editor

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
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 Keyboards Equiva­lences

Mac
Windows
Mac
Windows
[ctrl]
Control / ⌃
Option / [alt]
[Shift]
Enter / Return
[Intro]
Tabulation/ [Tab]
[Space]
[ctrl] Control
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
Indent­ation
[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

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
Mathem­atical 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>
Indenting
> text (remember the space)
Bullets
-
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">
Graphics
<img src="ur­l.g­if" alt="Text that describes the graphi­c" title=­"­Title text" />
Geometric 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>
Horizontal lines: Use 3 asterisks
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
External links
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
 

Comments

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

            Python 3 Cheat Sheet by Finxter

          More Cheat Sheets by jorgejuan007

          Quotes About Stupidity Cheat Sheet
          from Gamestop to Gamestonk Cheat Sheet