Keyboard Shortcuts
Table of contents
Overview
Pharos uses fixed keyboard shortcuts defined in the application menu bar. All shortcuts are available whenever the corresponding action is applicable.
File
| Action | Shortcut |
| New Connection | Cmd+N |
| New Tab | Cmd+T |
| Close Tab | Cmd+W |
| Reopen Closed Tab | Cmd+Shift+T |
| Save Query | Cmd+S |
| Close Window | Cmd+Shift+W |
Edit
| Action | Shortcut |
| Undo | Cmd+Z |
| Redo | Cmd+Shift+Z |
| Cut | Cmd+X |
| Copy | Cmd+C |
| Paste | Cmd+V |
| Select All | Cmd+A |
| Find in Results | Cmd+F |
| Filter Results | Cmd+Shift+F |
Query
| Action | Shortcut |
| Run Query | Cmd+Enter |
| Cancel Query | Cmd+. |
| Format SQL | Ctrl+I |
View
| Action | Shortcut |
| Toggle Sidebar | Cmd+Ctrl+S |
| Toggle Inspector | Cmd+Opt+0 |
| Switch to Tab 1 | Cmd+1 |
| Switch to Tab 2 | Cmd+2 |
| Switch to Tab 3 | Cmd+3 |
| Switch to Tab 4 | Cmd+4 |
| Switch to Tab 5 | Cmd+5 |
| Switch to Tab 6 | Cmd+6 |
| Switch to Tab 7 | Cmd+7 |
| Switch to Tab 8 | Cmd+8 |
| Switch to Tab 9 | Cmd+9 |
Application
| Action | Shortcut |
| Settings | Cmd+, |
| Hide Pharos | Cmd+H |
| Hide Others | Cmd+Opt+H |
| Quit Pharos | Cmd+Q |
| Minimize | Cmd+M |
Editor
| Action | Shortcut |
| Auto-complete | Ctrl+Space |
| Indent selection | Tab (with multi-line selection) |
| Outdent selection | Shift+Tab |
| Dismiss completion | Escape |
| Navigate completion | Up/Down arrows |
| Accept completion | Return or Tab |