====================================== Databricks Notebook keyboard shortcuts ====================================== First published at 5/11/2021 on https://defkey.com/databricks-notebook-shortcuts Databricks Notebook is a web-based interface to a document that contains runnable code, visualizations, and narrative text. It is a part of Databricks Workspace. Databricks Notebook has 61 shortcuts and we have listed all of them below. Edit mode --------- Esc Switch to Command Mode Control + Option + F Find and Replace Cmd + Shift + F Format SQL code Shift + Enter Run command and move to next cell Option + Enter Run command and insert new cell below Control + Enter Run command Shift + Option + Up arrow Run all above commands (exclusive) Shift + Option + Down arrow Run all commands (inclusive) Option + Up arrow / Down arrow Move to previous/next cell Control + Option + P Insert a cell above Control + Option + N Insert a cell below Control + Option + - Split a cell at cursor Control + Option + Up arrow Move a cell up Control + Option + Down arrow Move a cell down Control + Option + M Toggle comments panel Control + Option + C Copy current cell Control + Option + X Cut current cell Control + Option + V Paste cell below Control + Option + D Delete current cell Up arrow Move up or to previous cell Down arrow Move down or to next cell Shift + Tab Autocomplete, indent selection Cmd + ] Indent selection Cmd + [ Unindent selection Cmd + Z Undo typing Cmd + Shift + Z Redo typing Cmd + / Toggle line comment Cmd + Left click Select multiple cells Command mode ------------ Enter Switch to Edit Mode Control + Option + F Find and Replace Cmd + Shift + F Format SQL code Shift + Enter Run command and move to next cell Control + Enter Run command Shift + Option + Up arrow Run all above commands (exclusive) Shift + Option + Down arrow Run all commands (inclusive) D then D Delete current cell Shift + D then D Delete current cell (skip prompt) G then G Go to first cell Shift + G Go to last cell Z Undo cut/delete cells X Cut current cell C Copy current cell V Paste cell below Shift + V Paste cell A Insert a cell above B Insert a cell below O Toggle cell output Space Scroll down Shift + Space Scroll up H Toggle keyboard shortcuts menu Shift + M Merge with cell below Up arrow Move to previous cell P Move to previous cell K Move to previous cell Down arrow Move to next cell N Move to next cell J Move to next cell Shift + Up arrow / Down arrow Add adjacent cell to selection Cmd + A Select all cells Cmd + Left click Select multiple cells L Toggle line numbers Source: Databricks Last modified on (UTC): Friday, July 23, 2021 Defkey © All rights reserved.