FlatQL
Sign in Start free

Keyboard shortcuts in FlatQL

Few shortcuts, all of them in the worksheet editor and the app shell. On Windows and Linux every ⌘ below is Ctrl.

Worksheet editor#

Shortcut Action
⌘↵ Run the selected text, or the statement under the cursor
⌘S Save the worksheet now
⌘/ Toggle a -- SQL comment on the current line or selection
Tab Accept the highlighted autocomplete suggestion; with no list open, indent by two spaces
Ctrl+Space Open the autocomplete list by hand (it also opens as you type)
Esc Close the autocomplete list
⌘Z Undo
⇧⌘Z Redo

The editor shows a reminder of the first two under the Run button: Select text or place the cursor on a statement · ⌘↵ run · ⌘/ comment.

⌘↵ runs one statement. When nothing is selected, FlatQL takes the statement the cursor sits in, or the one just above it when the cursor is in a gap between statements. Run all statements has no shortcut; use the arrow next to Run. The worksheet saves on its own as you type, so ⌘S is for the moment before you close the tab.

Autocomplete knows the indices of the current connection and their fields, so typing a table name after FROM or a column after SELECT offers the real names from the mapping. Tab takes the highlighted entry, the way an IDE does.

Ask FlatQL#

Shortcut Action
⌘↵ Send the question in the Ask FlatQL box

Enter on its own adds a new line, so a longer question with examples stays readable. The answer is SQL or a Query DSL request you insert or run; nothing executes until you press Run. See Ask FlatQL.

App shell#

Shortcut Action
⌘K Open or close the command palette
⌘B Show or hide the sidebar

Both work on every page, including Connections, History and the document view.

Mouse shortcuts on worksheet tabs#

Gesture Action
Double-click the active tab Rename the worksheet
Middle-click a tab Close it
Click the × on a tab Close it

Closing a tab does not delete the worksheet; it stays on the Home list of the workspace and in its project.

Where the shortcuts come from#

The bindings are defined in the worksheet editor (Mod-Enter, Mod-s, Mod-/) and the app shell (⌘K, ⌘B). Mod is the platform modifier: ⌘ on macOS, Ctrl elsewhere. The same Mod-Enter and Mod-s bindings apply to the code editor used in the document view, so a saved search or a document body runs and saves the same way.

Next: your first query walks through what ⌘↵ produces. FlatQL as a whole is described in Elasticsearch GUI.

Last updated 2026-11-04

Guides

How FlatQL handles the jobs Elasticsearch makes hard.