Settings > Advanced Settings Editor > Keyboard Shortcuts
Shift+Enter: run cell
Alt+Enter: run cell and add cell below
Ctrl+Enter: rund, but do not advance
Ctrl+F: find
Ctrl+S: save
Ctrl+Shift+S: save as
Ctrl+I: contextual help and information
Ctrl+M: merge cells
Ctrl+Shift+M: merge will cell below
Ctrl+Backspace: merge with cell above
Crtl+-: split cell
Ctrl+Shift+Q: quit and shutdown notebook
Ctrl+B: toggle left sidebar
Enter: Edit Mode
Esc: leaf Edit Mode, enter Command Mode
Shift+Tab: tool tip
Ctrl+A: select all
Ctrl+Z: undo
Ctr+Shift+Z: redo
Ctrl+Y: redo
Ctrl+D: delete row
Ctrl+Home: cell's start
Ctrl+End: cell's end
Ctrl+⇨: jump one word right
Ctrl+⇦: jump one word left
Ctrl+#: comment out row
Ctrl+Shift+P: open command palette
Esc: Command mode
Enter: leaf Command Mode, enter Edit Mode
H: help, see all shortcuts
⇩ select cells down
Shift+⇩: extend select cells down
⇧ select cell: up
Shift+⇧ extend select cell up
Space: scroll down
Shift+Space: scroll up
A: insert cell above
B: insert cell below
C: copy
X: cut out
V: paste below,
Shift+V: paste above
2×D : delete
2×0 : restart kernel
2×I : interrupt kernel
S: save
Z: undo
Y: change cell to code view
M: change to markdown view
R. change cell to raw view
P: open command palette
You can copy and paste more than one cell at once. Use Shift+⇩ and Shift+⇧ to mark the cells, hit C and V to paste below, or Shift+V to paste above.
Settings > Advanced Settings Editor > Keyboard Shortcuts
I use this added JSON code as a user preference in the keyboard shortcut setting.
Alt+⇩: move cell down
Alt+⇧ : move cell up
2×Alt+K: restart kernel and clear outputs
{
"shortcuts": [
{
"args": {},
"command": "notebook:move-cell-up",
"keys": [
"Alt ArrowUp"
],
"selector": "body"
},
{
"args": {},
"command": "notebook:move-cell-down",
"keys": [
"Alt ArrowDown"
],
"selector": "body"
},
{
"args": {},
"command": "kernelmenu:restart-and-clear",
"keys": [
"Alt K",
"Alt K"
],
"selector": "[data-jp-kernel-user]:focus"
}
]
}