Command mode (press ESC)
mode switch
- Enter — switch to edit mode
- Esc — switch to command mode
cell state switch
- y — code state
- m — markdown state
run cell
- Shift-Enter — run current cell & select next cell
- Ctrl-Enter — run current cell, keep current focus
- Alt-Enter — run current cell & insert a cell below
cell select
- k — up select
- j — down select
cell insert & remove
- a — above insert
- b — below insert
- dd — delete current cell
other cell operation
- c — copy
- x — cut
- v — paste below
- shift-v — paste above
- z — recover last deleted cell
- two space - Enter — new line
Edit mode (press Enter)
cursor move
- Ctrl-Home or Ctrl-Up — move cursor to cell head
- Ctrl-End or Ctrl-Down — move cursor to cell tail
Reference
[1] csdn-keyboard shortcuts
[2] in jupyter notebook, press h will show the keyboard shortcuts
本文详细介绍了JupyterNotebook中的各种快捷键操作,包括命令模式与编辑模式下的指令,如运行单元格、切换单元格状态等,帮助用户提高工作效率。
3717

被折叠的 条评论
为什么被折叠?



