Jupyter Notebook Shortcuts
There are two Jupyter Notebook keyboard input mode. Edit mode, allowing you to type the code or text units; this time the unit border is green. Command mode, keyboard input program run command; in this case the unit frame line is gray.
Command Mode (Esc key is turned on)
- Enter: into edit mode
- Shift-Enter: This unit operation, selected by cells
- Ctrl-Enter: This unit operation
- Alt-Enter: This operation unit, which is inserted in the new cell
- Y: Status Code into the unit
- M: unit into a state markdown
- R: raw state into the unit
- 1: Set the level 1 title
- 2: Set the Level 2 title
- 3: Set the Level 3 title
- 4: Setting level 4 heading
- 5: Set the level 5 title
- 6: 6 title set
- Up: Select the top unit
- K: Select the top unit
- Down: select the cell below
- J: under the selected unit
- Shift-K: expand above the selected unit
- Shift-J: expand under the selected unit
- A: Insert a new cell at the top
- B: Insert a new unit below
- X: Cut the selected cell
- C: Copy the selected unit
- Shift-V: pasted above the unit
- V: Paste below the unit
- Z: The last unit recovers deleted
- D, D: delete the selected unit
- Shift-M: merging the selected cell
- Ctrl-S: Save file
- S: Save file
- L: Conversion line number
- O: conversion output
- Shift-O: Scroll converted output
- Esc: Close
- Q: Close
- H: display shortcuts help
- I, I: kernel interrupt Notebook
- 0,0: Restart Core Notebook
- Shift: Ignore
- Shift-Space: scroll up
- Space: Scroll down
Edit mode (Enter key to start)
- Tab: code completion or indentation
- Shift-Tab: Tips
- Ctrl-]: Indent
- Ctrl- [: lift indent
- Ctrl-A: Select all
- Ctrl-Z: Recovery
- Ctrl-Shift-Z: do
- Ctrl-Y: do
- Ctrl-Home: jump to the beginning of the unit
- Ctrl-Up: jump to the beginning of the unit
- Ctrl-End: jump to the end of the unit
- Ctrl-Down: Jump to end unit
- Ctrl-Left: a jump to the left prefix
- Ctrl-Right: Skip to the right of a prefix
- Ctrl-Backspace: delete a word in front
- Ctrl-Delete: Delete a word behind
- Esc: into command mode
- Ctrl-M: command mode
- Shift-Enter: Run this unit, check the next unit
- Ctrl-Enter: This unit operation
- Alt-Enter: This unit operation, following insertion in a unit
- Ctrl-Shift--: dividing means
- Ctrl-Shift-Subtract: dividing means
- Ctrl-S: Save file
- Shift: Ignore
- Up: move into or on a cursor unit
- Down: cursor down or forward to the next unit