Skip to main content

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

ActionWindows/LinuxmacOS
Open Command PaletteCtrl+Shift+PCmd+Shift+P
Open SettingsCtrl+,Cmd+,
Quick Open FileCtrl+PCmd+P
Save FileCtrl+SCmd+S
Save All FilesCtrl+Alt+SCmd+Alt+S
Close FileCtrl+WCmd+W
Close All FilesCtrl+K Ctrl+WCmd+K Cmd+W
New FileCtrl+NCmd+N
Open FileCtrl+OCmd+O
Switch Between FilesCtrl+TabCmd+Tab
Switch to Previous FileAlt+LeftCtrl+Left
Switch to Next FileAlt+RightCtrl+Right
Zoom InCtrl+=Cmd+=
Zoom OutCtrl+-Cmd+-
Reset ZoomCtrl+0Cmd+0

Editing

ActionWindows/LinuxmacOS
CutCtrl+XCmd+X
CopyCtrl+CCmd+C
PasteCtrl+VCmd+V
UndoCtrl+ZCmd+Z
RedoCtrl+Y or Ctrl+Shift+ZCmd+Shift+Z
FindCtrl+FCmd+F
ReplaceCtrl+HCmd+H
Find NextF3Cmd+G
Find PreviousShift+F3Cmd+Shift+G
Select AllCtrl+ACmd+A
Select Current WordCtrl+DCmd+D
Select All OccurrencesCtrl+Shift+LCmd+Shift+L
Move Line UpAlt+UpOption+Up
Move Line DownAlt+DownOption+Down
Copy Line UpShift+Alt+UpShift+Option+Up
Copy Line DownShift+Alt+DownShift+Option+Down
Delete LineCtrl+Shift+KCmd+Shift+K
Insert Line AboveCtrl+Shift+EnterCmd+Shift+Enter
Insert Line BelowCtrl+EnterCmd+Enter
Jump to Matching BracketCtrl+Shift+\Cmd+Shift+\
Indent LineCtrl+]Cmd+]
Outdent LineCtrl+[Cmd+[
Toggle Line CommentCtrl+/Cmd+/
Toggle Block CommentShift+Alt+AShift+Option+A
Format DocumentShift+Alt+FShift+Option+F
Format SelectionCtrl+K Ctrl+FCmd+K Cmd+F

Multi-Cursor and Selection

ActionWindows/LinuxmacOS
Add Cursor AboveCtrl+Alt+UpCmd+Option+Up
Add Cursor BelowCtrl+Alt+DownCmd+Option+Down
Add Cursor at ClickAlt+ClickOption+Click
Create Multiple CursorsCtrl+Shift+Alt+ArrowCmd+Shift+Option+Arrow
Select Next OccurrenceCtrl+DCmd+D
Skip Current OccurrenceCtrl+K Ctrl+DCmd+K Cmd+D
Expand SelectionShift+Alt+RightShift+Option+Right
Shrink SelectionShift+Alt+LeftShift+Option+Left
Column (Box) SelectionShift+Alt+DragShift+Option+Drag
Column Selection ModeCtrl+Shift+Alt+ArrowCmd+Shift+Option+Arrow
ActionWindows/LinuxmacOS
Go to LineCtrl+GCmd+G
Go to FileCtrl+PCmd+P
Go to SymbolCtrl+Shift+OCmd+Shift+O
Go to DefinitionF12F12
Go to DeclarationCtrl+F12Cmd+F12
Go to ReferencesShift+F12Shift+F12
Go to ImplementationCtrl+F12Cmd+F12
Go to Type DefinitionCtrl+Shift+F12Cmd+Shift+F12
Go BackAlt+LeftCtrl+-
Go ForwardAlt+RightCtrl+Shift+-
Scroll Line UpCtrl+UpCtrl+Up
Scroll Line DownCtrl+DownCtrl+Down
Scroll Page UpPage UpPage Up
Scroll Page DownPage DownPage Down
Scroll to TopCtrl+HomeCmd+Home
Scroll to BottomCtrl+EndCmd+End
Fold RegionCtrl+Shift+[Cmd+Option+[
Unfold RegionCtrl+Shift+]Cmd+Option+]
Fold All RegionsCtrl+K Ctrl+0Cmd+K Cmd+0
Unfold All RegionsCtrl+K Ctrl+JCmd+K Cmd+J

Search and Replace

ActionWindows/LinuxmacOS
FindCtrl+FCmd+F
ReplaceCtrl+HCmd+H
Find in FilesCtrl+Shift+FCmd+Shift+F
Replace in FilesCtrl+Shift+HCmd+Shift+H
Toggle Case-Sensitive SearchAlt+COption+C
Toggle Whole Word SearchAlt+WOption+W
Toggle Regex SearchAlt+ROption+R
Semantic SearchCtrl+Shift+P then "Search:"Cmd+Shift+P then "Search:"

View

ActionWindows/LinuxmacOS
Toggle SidebarCtrl+BCmd+B
Focus into SidebarCtrl+0Cmd+0
Toggle TerminalCtrl+`Cmd+`
Open New TerminalCtrl+Shift+\Cmd+Shift+\
Toggle File ExplorerCtrl+Shift+ECmd+Shift+E
Toggle SearchCtrl+Shift+FCmd+Shift+F
Toggle Source ControlCtrl+Shift+GCmd+Shift+G
Toggle ExtensionsCtrl+Shift+XCmd+Shift+X
Toggle AI PanelCtrl+Shift+ACmd+Shift+A
Toggle Full ScreenF11Cmd+Ctrl+F
Toggle Zen ModeCtrl+K ZCmd+K Z
Split Editor RightCtrl+\Cmd+\
Split Editor DownCtrl+K Ctrl+\Cmd+K Cmd+\
Focus Next Editor GroupCtrl+K Ctrl+RightCmd+K Cmd+Right
Focus Previous Editor GroupCtrl+K Ctrl+LeftCmd+K Cmd+Left

Intellisense and Refactoring

ActionWindows/LinuxmacOS
Trigger SuggestionCtrl+SpaceCmd+Space
Trigger Parameter HintsCtrl+Shift+SpaceCmd+Shift+Space
Show HoverCtrl+K Ctrl+ICmd+K Cmd+I
Quick FixCtrl+.Cmd+.
Rename SymbolF2F2
Extract MethodCtrl+Shift+MCmd+Shift+M
Extract VariableCtrl+Shift+VCmd+Shift+V
Organize ImportsCtrl+Shift+ICmd+Shift+I
Format DocumentShift+Alt+FShift+Option+F

Git Commands

ActionWindows/LinuxmacOS
Open Source ControlCtrl+Shift+GCmd+Shift+G
Stage ChangesCtrl+Shift+G then +Cmd+Shift+G then +
CommitCtrl+Enter in commit messageCmd+Enter in commit message
PushFrom Source Control menuFrom Source Control menu
PullFrom Source Control menuFrom Source Control menu
SyncShift+Alt+SShift+Option+S
Show Inline BlameCtrl+Shift+G then BCmd+Shift+G then B
Show DiffSelect file in Source ControlSelect file in Source Control

Terminal

ActionWindows/LinuxmacOS
Toggle TerminalCtrl+`Cmd+`
Create New TerminalCtrl+Shift+\Cmd+Shift+\
Split TerminalCtrl+Shift+5Cmd+Shift+5
Kill TerminalCtrl+Shift+K in terminalCmd+Shift+K in terminal
Scroll UpCtrl+PageUpCmd+PageUp
Scroll DownCtrl+PageDownCmd+PageDown
Clear TerminalCtrl+LCmd+K
Navigate Command HistoryUp/DownUp/Down
Focus Next TerminalCtrl+PageDownCmd+Shift+]
Focus Previous TerminalCtrl+PageUpCmd+Shift+[

AI Features

ActionWindows/LinuxmacOS
Open AI ChatCtrl+Shift+ACmd+Shift+A
Generate CodeCtrl+Shift+GCmd+Shift+G
Explain CodeCtrl+Shift+ECmd+Shift+E
Generate CommentsCtrl+Shift+/Cmd+Shift+/
Accept AI SuggestionTabTab
Dismiss AI SuggestionEscapeEscape
Navigate AI SuggestionsUp/DownUp/Down
Semantic SearchCtrl+Shift+P then "Search:"Cmd+Shift+P then "Search:"

Debugging

ActionWindows/LinuxmacOS
Start/Continue DebuggingF5F5
Stop DebuggingShift+F5Shift+F5
Restart DebuggingCtrl+Shift+F5Cmd+Shift+F5
Step OverF10F10
Step IntoF11F11
Step OutShift+F11Shift+F11
Toggle BreakpointF9F9
Toggle Conditional BreakpointShift+F9Shift+F9
Continue to CursorCtrl+F5Cmd+F5

Customizing Shortcuts

You can customize any of these shortcuts through the Keyboard Shortcuts editor:

  1. Press Ctrl+K Ctrl+S (or Cmd+K Cmd+S on macOS)
  2. Search for the command you want to change
  3. Click the pencil icon next to the current shortcut
  4. Press your desired key combination
  5. Press Enter to save the new shortcut

If you prefer to edit the shortcuts directly, you can modify the keybindings.json file:

  1. Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Type "Open Keyboard Shortcuts (JSON)" and select it
  3. Add your custom key bindings in the JSON format

Example custom keybinding:

[
{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.toggleTerminal"
}
]