Every default keyboard shortcut in JSLab, grouped by category and generated from its keybindings.
These are JSLab’s default keyboard shortcuts on macOS, grouped by category and sorted by chord within each group. Every shortcut here is also a command, and can be run from the command palette.
Each entry adds a binding on top of the defaults, for example an unused chord for Run:
[{ "key": "cmd+alt+n", "command": "run.start" }]
Remove a default without replacing it by prefixing its command id with -, for example dropping Clear Output’s default chord:
[{ "key": "cmd+k", "command": "-output.clear" }]
Generated from JSLab’s command registry.
Every command has a place in the palette, and the common ones have shortcuts you can learn as you go.
Run
Shortcut
Command
⇧⌘R
Stop
⌘R
Run
⌥⌘A
Toggle Auto Run
⌥⌘L
Toggle Auto Log
⌥⌘R
Kill
File
Shortcut
Command
⇧⌘S
Save As…
⌘O
Open…
⌘S
Save
Tabs
Shortcut
Command
⇧⌘T
Reopen Closed Tab
⌃⇥
Next Tab
⌃⇧⇥
Previous Tab
⌘1
Go to Tab 1
⌘2
Go to Tab 2
⌘3
Go to Tab 3
⌘4
Go to Tab 4
⌘5
Go to Tab 5
⌘6
Go to Tab 6
⌘7
Go to Tab 7
⌘8
Go to Tab 8
⌘9
Go to Tab 9
⌘T
New Tab
⌘W
Close Tab
⌥⌘←
Previous Tab
⌥⌘→
Next Tab
⌥⌘T
Close Other Tabs
Edit
Shortcut
Command
⇥
Expand Snippet
⇧⌘↩
Insert Line Before
⇧⌘D
Duplicate Line
⇧⌘F5
Reverse Sort Lines (Case-Insensitive)
⇧⌘F9
Clear All Logpoints
⇧⌘G
Find Previous
⇧⌘L
Split Selection into Lines
⇧⌘M
Select to Bracket
⇧⌘Space
Expand Selection
⌃⇧↑
Add Cursor Above
⌃⇧↓
Add Cursor Below
⌃⇧K
Delete Line
⌃⌘↑
Move Line Up
⌃⌘↓
Move Line Down
⌃G
Go to Line…
⌃Space
Trigger Suggestions
⌘/
Toggle Line Comment
⌘↩
Insert Line After
⌘⌫
Delete to Line Start
⌘D
Select Next Occurrence
⌘F
Find
⌘F1
Show Diagnostic
⌘F5
Sort Lines (Case-Insensitive)
⌘G
Find Next
⌘J
Join Lines
⌘K
Clear Output
⌘L
Select Line
⌘M
Go to Bracket
⌥⇧⌘/
Toggle Magic Comment
⌥⌘/
Toggle Block Comment
⌥⌘F
Replace
F1
Show Hover
F5
Sort Lines
F9
Toggle Logpoint
Format
Shortcut
Command
⌥⇧F
Format Code
View
Shortcut
Command
⇧⌘P
Show Command Palette
⌃⌘F
Toggle Full Screen
⌘-
Zoom Out
⌘=
Zoom In
⌘0
Actual Size
⌥⌘\
Toggle Vertical Split
⌥⌘E
Focus Editor
⌥⌘O
Focus Output
⌥⌘W
Toggle Web View
Tools
Shortcut
Command
⌃⌘I
AI Chat…
⌘B
Snippets…
⌘I
NPM Packages…
JSLab
Shortcut
Command
⌘,
Settings…
Last updated
JSLab’s site can use Google Analytics to count visits and see which pages help. It sets cookies only if you accept. Privacy