LMDA Composer provides extensive keyboard shortcuts for efficient workflow. This page lists all available shortcuts.
These shortcuts work anywhere in LMDA Composer:
| Action | Windows/Linux | Mac |
|---|
| Run Script / Send API Request | Ctrl+Enter | Cmd+Enter |
| Open Command Palette | Ctrl+Shift+P | Cmd+Shift+P |
| Toggle Right Sidebar | Ctrl+B | Cmd+B |
| Open Settings | Ctrl+, | Cmd+, |
File operations use the Ctrl/Cmd+K chord followed by a key:
| Action | Windows/Linux | Mac |
|---|
| New File | Ctrl+K, N | Cmd+K, N |
| Open File | Ctrl+K, O | Cmd+K, O |
| Open Module Folder | Ctrl+K, F | Cmd+K, F |
| Save File | Ctrl+S | Cmd+S |
| Save As | Ctrl+K, Shift+S | Cmd+K, Shift+S |
| Export (Download) | Ctrl+K, E | Cmd+K, E |
| Toggle API/Script View | Ctrl+K, M | Cmd+K, M |
Portal tools use the Ctrl/Cmd+K chord followed by a key:
| Action | Windows/Linux | Mac |
|---|
| Import from LMX (Module Browser) | Ctrl+K, I | Cmd+K, I |
| Search LogicModules | Ctrl+K, S | Cmd+K, S |
| AppliesTo Toolbox | Ctrl+K, A | Cmd+K, A |
| Debug Commands | Ctrl+K, D | Cmd+K, D |
| Module Snippets | Ctrl+K, L | Cmd+K, L |
| Refresh Collectors | Ctrl+K, R | Cmd+K, R |
| Copy Output | Ctrl+K, C | Cmd+K, C |
| Action | Windows/Linux | Mac |
|---|
| Undo | Ctrl+Z | Cmd+Z |
| Redo | Ctrl+Y | Cmd+Shift+Z |
| Cut Line/Selection | Ctrl+X | Cmd+X |
| Copy Line/Selection | Ctrl+C | Cmd+C |
| Paste | Ctrl+V | Cmd+V |
| Select All | Ctrl+A | Cmd+A |
| Select Next Occurrence | Ctrl+D | Cmd+D |
| Action | Windows/Linux | Mac |
|---|
| Go to Line | Ctrl+G | Cmd+G |
| Go to File | Ctrl+P | Cmd+P |
| Go to Beginning | Ctrl+Home | Cmd+↑ |
| Go to End | Ctrl+End | Cmd+↓ |
| Move Word Right | Ctrl+→ | Option+→ |
| Move Word Left | Ctrl+← | Option+← |
| Move Line Up | Alt+↑ | Option+↑ |
| Move Line Down | Alt+↓ | Option+↓ |
| Action | Windows/Linux | Mac |
|---|
| Find | Ctrl+F | Cmd+F |
| Find and Replace | Ctrl+H | Cmd+Option+F |
| Find Next | F3 | Cmd+G |
| Find Previous | Shift+F3 | Cmd+Shift+G |
| Action | Windows/Linux | Mac |
|---|
| Add Cursor | Alt+Click | Option+Click |
| Add Cursor Above | Ctrl+Alt+↑ | Cmd+Option+↑ |
| Add Cursor Below | Ctrl+Alt+↓ | Cmd+Option+↓ |
| Exit Multi-Cursor | Esc | Esc |
| Action | Windows/Linux | Mac |
|---|
| Fold Region | Ctrl+Shift+[ | Cmd+Option+[ |
| Unfold Region | Ctrl+Shift+] | Cmd+Option+] |
| Fold All | Ctrl+K, Ctrl+0 | Cmd+K, Cmd+0 |
| Unfold All | Ctrl+K, Ctrl+J | Cmd+K, Cmd+J |
| Action | Windows/Linux | Mac |
|---|
| Toggle Line Comment | Ctrl+/ | Cmd+/ |
When the Command Palette is open:
| Key | Action |
|---|
| ↑ / ↓ | Navigate commands |
| Enter | Execute command |
| Escape | Close palette |
| Type | Filter commands |
When a dialog is open:
| Key | Action |
|---|
| Escape | Close dialog |
| Tab | Move to next field |
| Shift+Tab | Move to previous field |
| Enter | Confirm/Submit |
A quick reference for all chord shortcuts (Ctrl/Cmd+K followed by key):
| Second Key | Action |
|---|
| N | New file |
| O | Open file |
| F | Open Module Folder |
| Shift+S | Save As… |
| E | Export (Download) |
| M | Toggle API/Script view |
| I | Import from LMX |
| S | Search LogicModules |
| A | AppliesTo Toolbox |
| D | Debug Commands |
| L | Module Snippets |
| R | Refresh collectors |
| C | Copy output |
- Start with Essentials — Most commonly used: Cmd+Enter (Run Script), Cmd+Shift+P (Command Palette), Cmd+S (Save), Cmd+B (Toggle Sidebar)
- Learn the Chord Pattern — Press Cmd+K, watch for “waiting…” in status bar, then press the action key. Most portal tools and file operations use this pattern.
- Use Command Palette — The Command Palette shows shortcuts next to commands. Search for an action to see its shortcut.
- Cmd+K, N — Create new file
- Type your script
- Cmd+S — Save
- Cmd+Enter — Run
- Review output
- Cmd+K, O — Open file
- Cmd+F — Find problematic code
- Edit and fix
- Cmd+Enter — Run to test
- Cmd+S — Save when fixed
- Cmd+K, I — Open module browser
- Navigate with arrow keys
- Enter — Load module
- Cmd+Enter — Run script
- Cmd+K, M — Toggle to API view
- Type endpoint
- Cmd+Enter — Send request
- Review response