Command Mode
Y : change cell to code
M : change cell to markdown
R : change cell to raw
K : select cell above
J : select cell below
X : cut selected cells
C : copy selected cells
Shift-V : paste cells above
V : paste cells below
D , D : delete selected cells
Z : undo cell deletion
Ctrl-Enter : run selected cells
Shift-Enter : run cells, select below
Alt-Enter : run cell and insert below
L : toggle line numbers
Shift-L : toggles line numbers in all cells, and persist the setting
Edit Mode
Ctrl-Z : undo
Ctrl-/ : comment
Ctrl-Enter : run selected cells
Shift-Enter : run cells, select below
Alt-Enter : run cell and insert below