56 Databricks Notebook Keyboard Shortcuts

Learn Databricks Notebook Shortcuts for Mac

Edit Mode Shortcuts

ActionDatabricks Notebook Shortcuts
Switch to Command ModeEsc
Find and ReplaceControl + Option + F
Format SQL codeCommand + Shift + F
Run the command and move to the next cellShift + Enter
Run the command and insert a new cell belowOption + Enter
Run commandControl + Enter
Run all above commands (exclusive)Shift + Option + Up Arrow key
Run all commands (inclusive)Shift + Option + Down Arrow key
Move to the previous cellOption + Up Arrow key
Move to the next cellOption + Down Arrow key
Insert a cell aboveControl + Option + P
Insert a cell belowControl + Option + N
Split a cell at the cursorControl + Option + –
Move a cell upControl + Option + Up Arrow key
Move a cell downControl + Option + Down Arrow key
Toggle comments panelControl + Option + M
Copy current cellControl + Option + C
Cut current cellControl + Option + X
Paste cell belowControl + Option + V
Delete current cellControl + Option + D
Move up or to the previous cellUp Arrow key
Move down or to the next cellDown Arrow key
Autocomplete, indent selectionShift + Tab
Indent selectionCommand + ]
Unindent selectionCommand + [
Undo typingCommand + Z
Redo typingCommand + Shift + Z
Toggle line commentCommand + /

Command Mode Shortcuts

ActionDatabricks Notebook Shortcuts
Switch to Edit ModeEnter
Find and ReplaceControl + Option + F
Format SQL codeCommand + Shift + F
Run the command and move to the next cellShift + Enter
Run commandControl + Enter
Run all above commands (exclusive)Shift + Option + Up Arrow key
Run all commands (inclusive)Shift + Option + Down Arrow key
Delete current cellD then D
Delete current cell (skip prompt)Shift + D then D
Go to the first cellG then G
Go to the last cellShift + G
Undo cut/delete cellsZ
Cut current cellX
Copy current cellC
Paste cell belowV
Paste cellShift + V
Insert a cell aboveA
Insert a cell belowB
Toggle cell outputO
Scroll downSpacebar
Scroll upShift + Spacebar
Toggle keyboard shortcuts menuH
Merge with the cell belowShift + M
Move to the previous cellUp Arrow key
Move to the next cellDown Arrow key
Add the adjacent cell to the selectionShift + Up & Down Arrow key
Select all cellsCommand + A
Toggle line numbersL

READ NEXT:

Back to top button