I checked the list of shortcut keys of Jupyter

I've been on Jupyter for 3 months, but I don't remember shortcut keys at all, so the work is extremely slow. I want to remember the shortcut key to solve this!

Click the "h" button to see a list

Press "h" in command mode to display a list of shortcut keys. Let's go through this list. ショートカットキー一覧

Mac commands

Mac commands are abbreviated as follows.

symbol command
⌘ Command
⌃ Control
⌥ Option
⇧ Shift
↩ Return
␣ Space
⇥ Tab

Command mode list (mode when the Esc button is pressed)

command Description
F Find and replace
↩ Enter edit mode
⌘⇧P Open command palette
⇧↩ Run cell and select cell below
⌃↩ Execute selected cell
⌥↩ Run cell and insert new cell below
Y In code mode
M In markdown mode
R In raw (text) mode
1 Export with "Heading 1 (Large Heading)"
2 Export with "Heading 2 (Middle Heading)"
3 Export with "Heading 3"
4 Export with "Heading 4"
5 Export with "Heading 5"
6 Export with "Heading 6"
K Move to the upper cell
↑ Move to the upper cell
↓ Move to cell below
J Move to cell below
⇧K Select multiple cells above
⇧↑ Select multiple cells above
⇧↓ Select multiple cells below
⇧J Select multiple cells below
A Insert cell on top
B Insert cell down
X Cut the cell
C Copy cell
⇧V Insert cell on top and paste
V Insert cell down and paste
Z Return deleted cells
D,D Delete selected cell
⇧M Merge cells
⌘S Save and checkpoint
S Save and checkpoint
L Show row numbers in cells
O Display the execution result of the selected cell
⇧O Scroll display of execution result of selected cell
H Show shortcut keys
I,I Suspend kernel
0,0 Restart kernel
Esc (unknown) close the pager
Q (Unknown) close the pager
⇧␣ Scroll up
␣ Scroll down

Edit mode list (mode when Enter is pressed)

symbol command
⇥ Code auto-completion, indentation
⇧⇥ Tooltip
⌘] Indent
⌘[ Indent dedent
⌘A Select all
⌘Z Undo
⌘⇧Z Redo
⌘Y Redo
⌘↑ Move to the beginning of the cell
⌘↓ Move to the end of cell
⌥← Move one word to the left
⌥→ Move one word to the right
⌥⌫ Erase the previous word
⌥⌦ Erase the following words
⌃M Command mode
Esc Command mode
⌘⇧P Open command palette
⇧↩ Run cell and select cell below
⌃↩ Run selected cell
⌥↩ Run cell and insert cell below
⌃⇧- Split cell
⌃⇧ Subtract (Unknown) Split cell
⌘S Save and checkpoint
↓ Move cursor down
↑ Move cursor up

recommendation

What you use yourself.

Recommended command mode

command Description comment
⇧↩ Run cell and select cell below Required at runtime
Y In code mode I wonder why it's Y
M In markdown mode Markdown M
A Insert cell on top Easy to add cells
B Insert cell down Easy to add cells
D,D Delete selected cell You can't just use D
0,0 Restart kernel I wanted this!

Recommended edit mode

command Description comment
⇥ Code auto-completion, indentation You can look up the method name
⇧⇥ Tooltip You can know the details of the object
⌘] Indent
⌘[ Indent dedent Convenient for soberness. When you want to stop the for statement or delete the indent
⌃M Command mode Since the Esc button is far away, I will mainly use this
Esc Command mode
⇧↩ Run cell and select cell below

Recommended Posts

I checked the list of shortcut keys of Jupyter
I checked the contents of docker volume
I checked the options of copyMakeBorder of OpenCV
List of shortcut keys dedicated to all yourself
I checked the session retention period of django
I checked the processing speed of numpy one-dimensionalization
I checked the output specifications of PyTorch's Bidirectional LSTM
I checked out the versions of Blender and Python
I checked the default OS and shell of docker-machine
Change the theme of Jupyter
I wrote the basic operation of Seaborn in Jupyter Lab
I wrote the basic operation of Numpy in Jupyter Lab.
I wrote the basic operation of matplotlib with Jupyter Lab
I investigated the mechanism of flask-login!
About the basics list of Python basics
I checked the gift tax amount
I checked the distribution of the number of video views of "Flag-chan!" [Python] [Graph]
I tried to get the index of the list using the enumerate function
[Blender] List of shortcut keys of Python Console that comes standard with Blender
I wrote the basic operation of Pandas with Jupyter Lab (Part 1)
I checked the usage status of the parking lot from satellite images.
I checked the image of Science University on Twitter with Word2Vec.
I wrote the basic operation of Pandas with Jupyter Lab (Part 2)
I tried the asynchronous server of Django 3.0
Algorithm Gymnastics 24 Middle of the Linked List
Get the column list & data list of CASTable
I summarized the folder structure of Flask
I didn't know the basics of Python
Build the execution environment of Jupyter Lab
I measured 6 methods to get the index of the maximum value (minimum value) of the list
I want to sort a list in the order of other lists
Display the graph of tensorBoard on jupyter
Jupyter Notebook basic operations and shortcut keys
The Python project template I think of.
List of Atom packages I really use
I checked the number of closed and opened stores nationwide by Corona
I read the implementation of golang channel
I measured the speed of list comprehension, for and while with python2.7.
I want to see a list of WebDAV files in the Requests module
[Python / DynamoDB / boto3] List of operations I tried
I tried the pivot table function of pandas
I checked the library for using the Gracenote API
[python] Check the elements of the list all, any
I tried cluster analysis of the weather map
[Python] Sort the list of pathlib.Path in natural sort
I read the implementation of range (Objects / rangeobject.c)
I solved the deepest problem of Hiroshi Yuki.
Make a copy of the list in Python
I tried to touch the API of ebay
I tried to correct the keystone of the image
Try the free version of Progate [Python I]
Fill the browser with the width of Jupyter Notebook
I touched some of the new features of Python 3.8 ①
Search by the value of the instance in the list
I read and implemented the Variants of UKR
I want to customize the appearance of zabbix
I checked the calendar deleted in Qiita Advent Calendar 2016
I tried using the image filter of OpenCV
I tried to predict the price of ETF
I tried to vectorize the lyrics of Hinatazaka46!
Sort tuple list in Python by specifying the ascending / descending order of multiple keys