Databricks Notebook keyboard shortcuts

Databricks Notebook  

Zeynel -
3 years ago
- Shortcuts
4
Esc

Switch to Command Mode

5
Control + ⌥ Opt + F

Find and Replace

2
⌘ Cmd + ↑  Shift + F

Format SQL code

1
↑  Shift + ⤶ Enter

Run command and move to next cell

4
⌥ Opt + ⤶ Enter

Run command and insert new cell below

4
Control + ⤶ Enter

Run command

1
↑  Shift + ⌥ Opt +

Run all above commands (exclusive)

2
↑  Shift + ⌥ Opt +

Run all commands (inclusive)

1
⌥ Opt +   

Move to previous/next cell

-1
Control + ⌥ Opt + P

Insert a cell above

0
Control + ⌥ Opt + N

Insert a cell below

0
Control + ⌥ Opt + -

Split a cell at cursor

2
Control + ⌥ Opt +

Move a cell up

2
Control + ⌥ Opt +

Move a cell down

0
Control + ⌥ Opt + M

Toggle comments panel

1
Control + ⌥ Opt + C

Copy current cell

0
Control + ⌥ Opt + X

Cut current cell

0
Control + ⌥ Opt + V

Paste cell below

5
Control + ⌥ Opt + D

Delete current cell

1

Move up or to previous cell

0

Move down or to next cell

3
↑  Shift + Tab

Autocomplete, indent selection

5
⌘ Cmd + ]

Indent selection

1
⌘ Cmd + [

Unindent selection

1
⌘ Cmd + Z

Undo typing

-1
⌘ Cmd + ↑  Shift + Z

Redo typing

-2
⌘ Cmd + /

Toggle line comment

0
⌘ Cmd +

Select multiple cells

Advertisement

1
⤶ Enter

Switch to Edit Mode

0
Control + ⌥ Opt + F

Find and Replace

1
⌘ Cmd + ↑  Shift + F

Format SQL code

1
↑  Shift + ⤶ Enter

Run command and move to next cell

1
Control + ⤶ Enter

Run command

2
↑  Shift + ⌥ Opt +

Run all above commands (exclusive)

0
↑  Shift + ⌥ Opt +

Run all commands (inclusive)

1
D then D

Delete current cell

0
↑  Shift + D then D

Delete current cell (skip prompt)

1
G then G

Go to first cell

0
↑  Shift + G

Go to last cell

1
Z

Undo cut/delete cells

0
X

Cut current cell

0
C

Copy current cell

0
V

Paste cell below

0
↑  Shift + V

Paste cell

0
A

Insert a cell above

1
B

Insert a cell below

0
O

Toggle cell output

1
Space

Scroll down

0
↑  Shift + Space

Scroll up

0
H

Toggle keyboard shortcuts menu

0
↑  Shift + M

Merge with cell below

0

Move to previous cell

0
or P
0
or K
0

Move to next cell

0
or N
0
or J
0
↑  Shift +   

Add adjacent cell to selection

Advertisement

1
⌘ Cmd + A

Select all cells

3
⌘ Cmd +

Select multiple cells

0
L

Toggle line numbers

Source: Databricks

Share this page on:
Is this page helpful?
1 0

Program information

Program name: Databricks Notebook Databricks Notebook (Developer tools)

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.

Web page: docs.databricks.com/notebooks/...

Last update: 7/23/2021 12:39 PM UTC

How easy to press shortcuts: 81%

More information >>

Updated: Updated program information. (2 updates.) 5/11/2021 1:28:48 PM New program added.
7/23/2021 2:39:01 PM Updated program information.

Shortcut count: 61

Platform detected: macOS


User operations

Add Databricks Notebook to favorites

Add to favorites

Advertisement


What is your favorite Databricks Notebook hotkey? Do you have any useful tips for it? Let other users know below.


 
No comments yet. Ask, or type the first one!