Skip to main content

Keyboard Shortcuts

The default keymap is provided below. For macOS, use Cmd instead of Ctrl.

KeycodeAction
Ctrl+ASelect all
Ctrl+HomeNavigate to the beginning of the document
Ctrl+LeftNavigate to the beginning of the line
Ctrl+BackspaceDelete to the beginning of the line
Ctrl+FFind
Ctrl+GFind next
Ctrl+UUndo selection
Ctrl+Alt+FSearch and replace
Alt+FMove one word to the right
Ctrl+VPage down
Alt+DDelete one word to the right
Ctrl+SpaceAutocomplete
TabIncrease indentation
Shift+TabDecrease indentation
EscExit full-screen mode
Ctrl+SSave to a local file
Ctrl+EExecute SQL
Ctrl+MInsert myDBR command (Sublime Text: Ctrl+Alt+M)

Macros

Macros provide shorthand for common SQL structures. The following are defined by default:

KeycodeAction
Ctrl+Alt+SSELECT clause
Ctrl+IIF clause
Ctrl+Alt+IIF-ELSE clause
Ctrl+Alt+WWHILE loop

Autocomplete for Table Columns

The SQL editor provides autocomplete functionality for table and view columns. To enable this, select the databases you wish to include in Editor Preferences.

To use autocomplete, first define your FROM clause; then, use either the table name or its alias in the SELECT statement to trigger column suggestions.