Jupyter notebook keyborad shortcuts

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值