Keyboard Shortcuts
This page provides a comprehensive reference of keyboard shortcuts in Levitate IDE to help you work more efficiently.
note
On macOS, replace Ctrl with Cmd and Alt with Option for most shortcuts.
General
| Action | Windows/Linux | macOS |
|---|---|---|
| Open Command Palette | Ctrl+Shift+P | Cmd+Shift+P |
| Open Settings | Ctrl+, | Cmd+, |
| Quick Open File | Ctrl+P | Cmd+P |
| Save File | Ctrl+S | Cmd+S |
| Save All Files | Ctrl+Alt+S | Cmd+Alt+S |
| Close File | Ctrl+W | Cmd+W |
| Close All Files | Ctrl+K Ctrl+W | Cmd+K Cmd+W |
| New File | Ctrl+N | Cmd+N |
| Open File | Ctrl+O | Cmd+O |
| Switch Between Files | Ctrl+Tab | Cmd+Tab |
| Switch to Previous File | Alt+Left | Ctrl+Left |
| Switch to Next File | Alt+Right | Ctrl+Right |
| Zoom In | Ctrl+= | Cmd+= |
| Zoom Out | Ctrl+- | Cmd+- |
| Reset Zoom | Ctrl+0 | Cmd+0 |
Editing
| Action | Windows/Linux | macOS |
|---|---|---|
| Cut | Ctrl+X | Cmd+X |
| Copy | Ctrl+C | Cmd+C |
| Paste | Ctrl+V | Cmd+V |
| Undo | Ctrl+Z | Cmd+Z |
| Redo | Ctrl+Y or Ctrl+Shift+Z | Cmd+Shift+Z |
| Find | Ctrl+F | Cmd+F |
| Replace | Ctrl+H | Cmd+H |
| Find Next | F3 | Cmd+G |
| Find Previous | Shift+F3 | Cmd+Shift+G |
| Select All | Ctrl+A | Cmd+A |
| Select Current Word | Ctrl+D | Cmd+D |
| Select All Occurrences | Ctrl+Shift+L | Cmd+Shift+L |
| Move Line Up | Alt+Up | Option+Up |
| Move Line Down | Alt+Down | Option+Down |
| Copy Line Up | Shift+Alt+Up | Shift+Option+Up |
| Copy Line Down | Shift+Alt+Down | Shift+Option+Down |
| Delete Line | Ctrl+Shift+K | Cmd+Shift+K |
| Insert Line Above | Ctrl+Shift+Enter | Cmd+Shift+Enter |
| Insert Line Below | Ctrl+Enter | Cmd+Enter |
| Jump to Matching Bracket | Ctrl+Shift+\ | Cmd+Shift+\ |
| Indent Line | Ctrl+] | Cmd+] |
| Outdent Line | Ctrl+[ | Cmd+[ |
| Toggle Line Comment | Ctrl+/ | Cmd+/ |
| Toggle Block Comment | Shift+Alt+A | Shift+Option+A |
| Format Document | Shift+Alt+F | Shift+Option+F |
| Format Selection | Ctrl+K Ctrl+F | Cmd+K Cmd+F |
Multi-Cursor and Selection
| Action | Windows/Linux | macOS |
|---|---|---|
| Add Cursor Above | Ctrl+Alt+Up | Cmd+Option+Up |
| Add Cursor Below | Ctrl+Alt+Down | Cmd+Option+Down |
| Add Cursor at Click | Alt+Click | Option+Click |
| Create Multiple Cursors | Ctrl+Shift+Alt+Arrow | Cmd+Shift+Option+Arrow |
| Select Next Occurrence | Ctrl+D | Cmd+D |
| Skip Current Occurrence | Ctrl+K Ctrl+D | Cmd+K Cmd+D |
| Expand Selection | Shift+Alt+Right | Shift+Option+Right |
| Shrink Selection | Shift+Alt+Left | Shift+Option+Left |
| Column (Box) Selection | Shift+Alt+Drag | Shift+Option+Drag |
| Column Selection Mode | Ctrl+Shift+Alt+Arrow | Cmd+Shift+Option+Arrow |
Navigation
| Action | Windows/Linux | macOS |
|---|---|---|
| Go to Line | Ctrl+G | Cmd+G |
| Go to File | Ctrl+P | Cmd+P |
| Go to Symbol | Ctrl+Shift+O | Cmd+Shift+O |
| Go to Definition | F12 | F12 |
| Go to Declaration | Ctrl+F12 | Cmd+F12 |
| Go to References | Shift+F12 | Shift+F12 |
| Go to Implementation | Ctrl+F12 | Cmd+F12 |
| Go to Type Definition | Ctrl+Shift+F12 | Cmd+Shift+F12 |
| Go Back | Alt+Left | Ctrl+- |
| Go Forward | Alt+Right | Ctrl+Shift+- |
| Scroll Line Up | Ctrl+Up | Ctrl+Up |
| Scroll Line Down | Ctrl+Down | Ctrl+Down |
| Scroll Page Up | Page Up | Page Up |
| Scroll Page Down | Page Down | Page Down |
| Scroll to Top | Ctrl+Home | Cmd+Home |
| Scroll to Bottom | Ctrl+End | Cmd+End |
| Fold Region | Ctrl+Shift+[ | Cmd+Option+[ |
| Unfold Region | Ctrl+Shift+] | Cmd+Option+] |
| Fold All Regions | Ctrl+K Ctrl+0 | Cmd+K Cmd+0 |
| Unfold All Regions | Ctrl+K Ctrl+J | Cmd+K Cmd+J |
Search and Replace
| Action | Windows/Linux | macOS |
|---|---|---|
| Find | Ctrl+F | Cmd+F |
| Replace | Ctrl+H | Cmd+H |
| Find in Files | Ctrl+Shift+F | Cmd+Shift+F |
| Replace in Files | Ctrl+Shift+H | Cmd+Shift+H |
| Toggle Case-Sensitive Search | Alt+C | Option+C |
| Toggle Whole Word Search | Alt+W | Option+W |
| Toggle Regex Search | Alt+R | Option+R |
| Semantic Search | Ctrl+Shift+P then "Search:" | Cmd+Shift+P then "Search:" |
View
| Action | Windows/Linux | macOS |
|---|---|---|
| Toggle Sidebar | Ctrl+B | Cmd+B |
| Focus into Sidebar | Ctrl+0 | Cmd+0 |
| Toggle Terminal | Ctrl+` | Cmd+` |
| Open New Terminal | Ctrl+Shift+\ | Cmd+Shift+\ |
| Toggle File Explorer | Ctrl+Shift+E | Cmd+Shift+E |
| Toggle Search | Ctrl+Shift+F | Cmd+Shift+F |
| Toggle Source Control | Ctrl+Shift+G | Cmd+Shift+G |
| Toggle Extensions | Ctrl+Shift+X | Cmd+Shift+X |
| Toggle AI Panel | Ctrl+Shift+A | Cmd+Shift+A |
| Toggle Full Screen | F11 | Cmd+Ctrl+F |
| Toggle Zen Mode | Ctrl+K Z | Cmd+K Z |
| Split Editor Right | Ctrl+\ | Cmd+\ |
| Split Editor Down | Ctrl+K Ctrl+\ | Cmd+K Cmd+\ |
| Focus Next Editor Group | Ctrl+K Ctrl+Right | Cmd+K Cmd+Right |
| Focus Previous Editor Group | Ctrl+K Ctrl+Left | Cmd+K Cmd+Left |
Intellisense and Refactoring
| Action | Windows/Linux | macOS |
|---|---|---|
| Trigger Suggestion | Ctrl+Space | Cmd+Space |
| Trigger Parameter Hints | Ctrl+Shift+Space | Cmd+Shift+Space |
| Show Hover | Ctrl+K Ctrl+I | Cmd+K Cmd+I |
| Quick Fix | Ctrl+. | Cmd+. |
| Rename Symbol | F2 | F2 |
| Extract Method | Ctrl+Shift+M | Cmd+Shift+M |
| Extract Variable | Ctrl+Shift+V | Cmd+Shift+V |
| Organize Imports | Ctrl+Shift+I | Cmd+Shift+I |
| Format Document | Shift+Alt+F | Shift+Option+F |
Git Commands
| Action | Windows/Linux | macOS |
|---|---|---|
| Open Source Control | Ctrl+Shift+G | Cmd+Shift+G |
| Stage Changes | Ctrl+Shift+G then + | Cmd+Shift+G then + |
| Commit | Ctrl+Enter in commit message | Cmd+Enter in commit message |
| Push | From Source Control menu | From Source Control menu |
| Pull | From Source Control menu | From Source Control menu |
| Sync | Shift+Alt+S | Shift+Option+S |
| Show Inline Blame | Ctrl+Shift+G then B | Cmd+Shift+G then B |
| Show Diff | Select file in Source Control | Select file in Source Control |
Terminal
| Action | Windows/Linux | macOS |
|---|---|---|
| Toggle Terminal | Ctrl+` | Cmd+` |
| Create New Terminal | Ctrl+Shift+\ | Cmd+Shift+\ |
| Split Terminal | Ctrl+Shift+5 | Cmd+Shift+5 |
| Kill Terminal | Ctrl+Shift+K in terminal | Cmd+Shift+K in terminal |
| Scroll Up | Ctrl+PageUp | Cmd+PageUp |
| Scroll Down | Ctrl+PageDown | Cmd+PageDown |
| Clear Terminal | Ctrl+L | Cmd+K |
| Navigate Command History | Up/Down | Up/Down |
| Focus Next Terminal | Ctrl+PageDown | Cmd+Shift+] |
| Focus Previous Terminal | Ctrl+PageUp | Cmd+Shift+[ |
AI Features
| Action | Windows/Linux | macOS |
|---|---|---|
| Open AI Chat | Ctrl+Shift+A | Cmd+Shift+A |
| Generate Code | Ctrl+Shift+G | Cmd+Shift+G |
| Explain Code | Ctrl+Shift+E | Cmd+Shift+E |
| Generate Comments | Ctrl+Shift+/ | Cmd+Shift+/ |
| Accept AI Suggestion | Tab | Tab |
| Dismiss AI Suggestion | Escape | Escape |
| Navigate AI Suggestions | Up/Down | Up/Down |
| Semantic Search | Ctrl+Shift+P then "Search:" | Cmd+Shift+P then "Search:" |
Debugging
| Action | Windows/Linux | macOS |
|---|---|---|
| Start/Continue Debugging | F5 | F5 |
| Stop Debugging | Shift+F5 | Shift+F5 |
| Restart Debugging | Ctrl+Shift+F5 | Cmd+Shift+F5 |
| Step Over | F10 | F10 |
| Step Into | F11 | F11 |
| Step Out | Shift+F11 | Shift+F11 |
| Toggle Breakpoint | F9 | F9 |
| Toggle Conditional Breakpoint | Shift+F9 | Shift+F9 |
| Continue to Cursor | Ctrl+F5 | Cmd+F5 |
Customizing Shortcuts
You can customize any of these shortcuts through the Keyboard Shortcuts editor:
- Press
Ctrl+K Ctrl+S(orCmd+K Cmd+Son macOS) - Search for the command you want to change
- Click the pencil icon next to the current shortcut
- Press your desired key combination
- Press Enter to save the new shortcut
If you prefer to edit the shortcuts directly, you can modify the keybindings.json file:
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Type "Open Keyboard Shortcuts (JSON)" and select it
- Add your custom key bindings in the JSON format
Example custom keybinding:
[
{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.toggleTerminal"
}
]