Skip to content

Latest commit

 

History

History
44 lines (40 loc) · 1.96 KB

File metadata and controls

44 lines (40 loc) · 1.96 KB

Keyboard shortcuts

Command Mode (press esc to enable)

enter edit mode ctrl-j move cell down
shift-enter run cell, select below a insert cell above
ctrl-enter run cell b insert cell below
alt-enter run cell, insert below x cut cell
y to code c copy cell
m to markdown shift-v paste cell above
r to raw v paste cell below
1 to heading 1 z undo last delete
2 to heading 2 d d delete cell (press twice)
3 to heading 3 shift-m merge cell below
4 to heading 4 s save notebook
5 to heading 5 ctrl-s undo last delete
6 to heading 6 l toggle line numbers
up select previous cell o toggle output
down select next cell shift-o toggle output scrolling
k select previous cell q close pager
j select next cell h keyboard shortcuts
ctrl-k move cell up i i interrupt kernel (press twice)
0 0 restart kernel (press twice)

Edit mode (press enter to enable)

tab code completion or indent ctrl-down go to cell end
shift-tab tooltip ctrl-left go one word left
ctrl-]` indent ctrl-right go one word right
ctrl-[ dedent ctrl-backspace delete word before
ctrl-a select all ctrl-delete delete word before
ctrl-z undo esc command mode
shift-ctrl-z redo ctrl-m command mode
ctrl-y redo shift-enter run cell, select below
ctrl-home go to cell start ctrl-enter run cell
ctrl-up go to cell start alt-enter run cell, insert below
ctrl-end go to cell end ctrl-shift-- split cell
ctrl-s save notebook