The default shortcuts worth learning first, and how to change them in Preferences > Keymap.
Almost every action in Oxys DB Studio has a keyboard shortcut, and you can change any of them. The
shortcuts below are the defaults on Windows and Linux.
The essentials
Shortcut
Action
Also in
Ctrl+N
Open the Connection Manager
Global Toolbar > Connect
Ctrl+L
Open IntelliShell
Global Toolbar > IntelliShell
Shift+Ctrl+L
Open a SQL Query tab
Global Toolbar > SQL
F4
Open the Aggregation Editor
Global Toolbar > Aggregate
Ctrl+M
Open Map-Reduce
Ctrl+B
Show or hide the Visual Query Builder
Collection Tab toolbar
Ctrl+G
Open Query Code
Collection Tab > Query Code
Ctrl+R
Refresh the current view
Result toolbar
Ctrl+P
Preferences
Edit > Preferences
Ctrl+Alt+B
Show or hide the Global Toolbar
View > Show/Hide Global Toolbar
F1
Help for the current view
Help > Help for This View
Tabs
Shortcut
Action
Ctrl+PgDn
Next tab
Ctrl+PgUp
Previous tab
Ctrl+F4
Close the tab (asks first if it holds unsaved work)
Run the whole script (IntelliShell), pipeline (Aggregation Editor) or statement (SQL Query)
F6
Run the statement at the cursor (IntelliShell)
F9
Run the selection (IntelliShell)
Ctrl+Space
Open auto-completion
Ctrl+F / Ctrl+H
Find / Replace
Ctrl+/
Comment or uncomment the line
Ctrl+Alt+L
Format the code
Ctrl+S / Shift+Ctrl+S
Save / Save as
Ctrl+O
Load a saved query or script
In the connection tree
Shortcut
Action
Enter
Open the selected collection, view or GridFS bucket
Ctrl+F
Search the open connections
Ctrl+R
Refresh the selected item
Shift+Ctrl+R
Refresh everything
Ctrl+Alt+D
Disconnect
Change a shortcut
Open Edit > Preferences (Ctrl+P) and choose the Keymap page.
Find the action: type part of its name in the search field, or browse the categories.
Click Add shortcut, then press the key combination you want. An action can have up to three
shortcuts of your own.
To go back, select the action and click Reset shortcuts, or Reset all for every action.
Keymap button
What it does
Add shortcut
Adds a key combination to the selected action
Remove all shortcuts
Removes every shortcut of the selected action
Reset shortcuts
Restores the defaults of the selected action
Remove all
Removes every shortcut of every action
Reset all
Restores every default shortcut
Export keymap…, Import keymap…
Save your keymap to a file, or load one, for example to use the same keys on another computer
Tips
Hover any Global Toolbar button to see its shortcut; menu items show theirs next to the label.
The same key can do different things depending on where the keyboard focus is: Ctrl+C copies a
value in the result views but copies the collection when the tree has the focus.
The keymap already defines macOS bindings (with ⌘ in place of Ctrl), but there is no macOS build
yet; see Install.
In the browser version, the browser keeps a few shortcuts for its own windows and tabs (Ctrl+N,
Ctrl+T, Ctrl+W, Ctrl+PgDn…): Alt+N, Alt+T, Alt+W, Alt+PgDn… replace them there, and the menus and
the Keymap page show them. See Use Oxys DB Studio in a browser.