Jump to: Command Mode (press Esc to enable), Edit Mode (press Enter to enable)
Enter | enter edit mode |
Shift+Enter | run cell, select below |
Ctrl+Enter | run cell |
Alt+Enter | run cell, insert below |
Y | to code |
M | to markdown |
R | to raw |
1 | to heading 1 |
2,3,4,5,6 | to heading 2,3,4,5,6 |
Up/K | select cell above |
Down/J | select cell below |
A/B | insert cell above/below |
X | cut selected cell |
C | copy selected cell |
Shift+V | paste cell above |
V | paste cell below |
Z | undo last cell deletion |
D | delete selected cell |
Shift+M | merge cell below |
Ctrl+S | Save and Checkpoint |
L | toggle line numbers |
O | toggle output |
Shift+O | toggle output scrolling |
Esc | close pager |
H | show keyboard shortcut help dialog |
I | interrupt kernel |
0 | restart kernel |
Space | scroll down |
Shift+Space | scroll up |
Shift | ignore |
Similarly, it is asked, what is a markdown cell in Jupyter notebook? Markdown cell displays text which can be formatted using markdown language. In order to enter a text which should not be treated as code by Notebook server, it must be first converted as markdown cell either from cell menu or by using keyboard shortcut M while in command mode.
- Check help on the menu, there is keyboard shortcuts select the code cell, press 'esc + m ',and it will be a markdown cell. Moreover, from markdown cell to code cell, press ' esc + y '.
- When I started usin g Jupyter Notebook I didn’t know that there are shortcuts for this tool. Several times, I changed my cell type from code to markdown and I didn’t know how. As you can guess this caused me a lot of headache. One day I just saw that there is a Help Keyboard Shortcuts link in the menu bar.
Tab | code completion or indent |
Shift+Tab | tooltip |
Ctrl+] | indent |
Ctrl+[ | dedent |
Ctrl+A | select all |
Ctrl+Z | undo |
Ctrl+Shift+Z | redo |
Ctrl+Y | redo |
Ctrl+Home | go to cell start |
Ctrl+Up | go to cell start |
Ctrl+End | go to cell end |
Ctrl+Down | go to cell end |
Ctrl+Left | go one word left |
Ctrl+Right | go one word right |
Ctrl+Backspace | delete word before |
Ctrl+Delete | delete word after |
Esc | command mode |
Ctrl+M | command mode |
Ctrl+Shift+minus | split cell |
Ctrl+S | Save and Checkpoint |
Up | move cursor up or previous cell |
Down | move cursor down or next cell |
Ctrl+/ | toggle comment on current or selected lines |
Created by SarthakMenpara on 6/19/2017