-
Notifications
You must be signed in to change notification settings - Fork 8
Reference Card
Ecmel Ercan edited this page Nov 27, 2025
·
7 revisions
| Command | Command | Command |
|---|---|---|
| KX: Welcome to KDB-X | KX: New Connection | KX: Focus on Connections view |
| KX: Install KDB-X | KX: New Notebook | KX: Focus on Datasources view |
| KX: Start REPL | KX: New Workbook (q) | KX: Focus on Workbooks view |
| KX: Import Connections | KX: New Workbook (Python) | KX: Focus on Query History view |
| KX: Export Connections | KX: New Datasource | KX: Focus on Help and Feedback view |
| Command | When | Shortcut | MacOS |
|---|---|---|---|
| KX: Execute Entire File |
q py sql
|
ctrl+shift+d
|
⌘+shift+d
|
| KX: Execute Current Selection |
q py sql
|
ctrl+d
|
⌘+d
|
| KX: Execute Current Block | q |
ctrl+shift+e
|
⌘+shift+e
|
| KX: Populate Scratchpad |
q py sql
|
ctrl+shift+alt+p
|
⌘+shift+alt+p
|
| KX: Reset Scratchpad |
q py sql kxnb
|
ctrl+shift+delete
|
⌘+shift+delete
|
| KX: Choose Connection |
q py sql kxnb
|
||
| KX: Choose Execution Target |
q py sql
|
ctrl+alt+t
|
⌘+alt+t
|
| KX: Toggle Parameter Cache | q |
ctrl+shift+y
|
⌘+shift+y
|
| Shortcut | Action | Shortcut | Action |
|---|---|---|---|
RETURN |
Execute command line | END |
Move cursor to end |
BACKSPACE |
Delete left of cursor |
shift+←
|
Move cursor left |
DEL |
Delete right of cursor |
shift+→
|
Move cursor right |
← |
Move cursor left |
shift+↑
|
Move cursor up |
→ |
Move cursor right |
shift+↓
|
Move cursor down |
↑ |
History |
ctrl/⌘+v
|
Paste code |
↓ |
History |
ctrl+c
|
Stop execution (Reset on Windows) |
HOME |
Move cursor to start |
ctrl+d
|
Reset |
| Setting | Scope | Type | Default |
|---|---|---|---|
| kdb.qHomeDirectory | machine | string |
"" |
| kdb.servers | machine | object |
{} |
| kdb.insightsEnterpriseConnections | machine | object |
{} |
| kdb.connectionLabels | machine | array |
[] |
| kdb.labelsConnectionMap | machine | array |
[] |
| kdb.hideSurvey | machine | boolean |
false |
| kdb.hideSourceExpressions | machine | boolean |
true |
| kdb.hideSubscribeRegistrationNotification | machine | boolean |
false |
| kdb.neverShowQInstallAgain | machine | boolean |
false |
| kdb.autoFocusOutputOnEntry | machine | boolean |
true |
| kdb.qHomeDirectoryWorkspace | resource | string |
"" |
| kdb.connectionMap | resource | object |
{} |
| kdb.targetMap | resource | object |
{} |
| kdb.linting | resource | boolean |
false |
| kdb.refactoring | resource | string |
"Workspace" |
| Type | REPL | My q | IE SP | IE q/SQL | IE API | IE UDA | IE Populate SP |
|---|---|---|---|---|---|---|---|
File q
|
✓ | ✓ | ✓ | ✓ | ✓ | ||
File py
|
✓ | ✓ | ✓ | ✓ | ✓ | ||
File sql
|
✓ | ✓ | ✓ | ||||
Cell q
|
✓ | ✓ | ✓ | ✓ | ✓ | ||
Cell py
|
✓ | ✓ | ✓ | ✓ | ✓ | ||
Cell sql
|
✓ | ✓ | ✓ | ||||
| Datasource | ✓ | ✓ | ✓ | ✓ |
REPL and My q requires PyKX for Python support.