Keyboard Shortcuts

Master DBView with keyboard shortcuts for faster workflows. All shortcuts use the standard macOS modifier keys.

Modifier Keys

CmdCommand key
ShiftShift key
CtrlControl key
OptOption key

Query Execution

ShortcutAction
Cmd+Enter
Execute current query
Cmd+Shift+Enter
Execute selected text
Cmd+Shift+F
Format SQL query

Editor

ShortcutAction
Cmd+F
Find in editor
Cmd+G
Find next
Cmd+Shift+G
Find previous
Cmd+H
Find and replace
Cmd+Z
Undo
Cmd+Shift+Z
Redo
Cmd+D
Select word / next occurrence
Cmd+/
Toggle line comment

Tabs & Navigation

ShortcutAction
Cmd+T
New query tab
Cmd+W
Close current tab
Cmd+Shift+T
Reopen closed tab
Cmd+1-9
Switch to tab 1-9
Ctrl+Tab
Next tab
Ctrl+Shift+Tab
Previous tab

Sidebar & Panels

ShortcutAction
Cmd+B
Toggle sidebar
Cmd+\
Toggle schema explorer
Cmd+J
Toggle results panel

Application

ShortcutAction
Cmd+,
Open settings
Cmd+S
Save query to SQL Book
Cmd+N
New connection
Cmd+Q
Quit DBView

Results Grid

ShortcutAction
Cmd+C
Copy selected cells
Cmd+A
Select all rows
Cmd+E
Export results
Arrow Keys
Navigate cells

Pro Tips

  • 1.Use Cmd + Enter to execute queries quickly without reaching for the mouse.
  • 2.Select specific SQL text and press Cmd + Shift + Enter to execute only that portion.
  • 3.Keep your queries readable with Cmd + Shift + F to auto-format your SQL.
  • 4.Toggle the sidebar with Cmd + B to maximize your editor space.
DBView - The SQL client you'll love using | Product Hunt