Top 5 Important Keyboard Shortcuts for Jupyter Notebook
Ctrl-Enter: run selected cells
Ctrl-]: indent
Now let’s see the details keyboard shortcuts for Jupyter Notebook
The Jupyter ecosystem contains many useful tools for working with Python including Jupyter Notebook, an interactive coding environment. Learn how to work with cells, including Python code and Markdown text cells, in Jupyter Notebook. Run CellsPython Code CellsYou can run any cell in Jupyter Notebook (regardless of whether it contains code or markdown) using the Tools menu or keyboard shortcuts. FunctionKeyboard ShortcutMenu ToolsRun CellCtrl + enterCell → Example run CellFor, you can. One of the great things about Jupyter Notebook is how you can intersperse your code blocks with markdown blocks that you can use to add comments or simply more context around your code. Here are ten ways I like to use markdown in my Jupyter Notebooks. Use hashes for easy titles. In your markdown cell, enter a line like this.
Command Mode (press Esc to enable)
Ctrl-Shift-F: open the command palette
Enter: enter edit mode
Shift-Enter: run cell, select below
Alt-Enter: run cell and insert below
Program name: Jupyter Notebook (Developer tools) Jupyter Notebook is an open-source, web-based computing environment for creating live code, equations, visualizations, and narrative text. Web page: jupyter.org. Last update: 09 September 2020. How easy to press shortcuts: 86%. More information.
M: change cell to markdown
1: change cell to heading 1
3: change cell to heading 3
5: change cell to heading 5
K: select cell above
Down: select cell below
Shift-K: extend selected cells above
Shift-Down: extend selected cells below
Ctrl-A: select all cells
B: insert cell below
C: copy selected cells
Jupyterhub Markdown
V: paste cells below
D,D: delete selected cells
Jupyter Notebook Markdown Cheat Sheet
Shift-M: merge selected cells, or current cell with cell below if only one cell is selected
S: Save and Checkpoint
O: toggle output of selected cells
Shift-O: toggle output scrolling of selected cells
I,I: interrupt the kernel
Esc: close the pager
Shift-L: toggles line numbers in all cells, and persist the setting
Space: scroll notebook down
Edit Mode (press Enter to enable)
Shift-Tab: tooltip
Ctrl-[: dedent
Ctrl-Z: undo
Ctrl-D: delete whole line
Insert: toggle overwrite flag
Ctrl-Up: go to cell start
Ctrl-Down: go to cell end
Ctrl-Backspace: delete word before
Ctrl-Y: redo
Ctrl-M: enter command mode
Ctrl-Shift-P: open the command palette
Shift-Enter: run cell, select below
Alt-Enter: run cell and insert below
Ctrl-S: Save and Checkpoint
Up: move cursor up