Piye's keymap, the same on every computer with each system's own keys respected. Every default shortcut on Mac, Windows and Linux, and how to change them.
Piye has one keymap. Cmd on a Mac is Ctrl on Windows and Linux. Where a system keeps a key for itself, Piye uses another one there: for example, on a Mac CmdH hides the app, so Replace is CmdAltF; Cmd` switches windows, so the terminal is Ctrl`.
Two-step shortcuts are written "then": CmdKthenCmdS means press CmdK, let go, then press CmdS.
Default shortcuts
Go
Command
Mac
Windows and Linux
Go to File
CmdP
CtrlP
Command Palette
CmdShiftP
CtrlShiftP
Go to Symbol in Editor
CmdT
CtrlT
Go to Line
CtrlG
CtrlG
Go Back
Ctrl-
AltLeft
Go Forward
CtrlShift-
AltRight
Find All References
ShiftF12
ShiftF12
Focus Breadcrumbs
CmdShift.
CtrlShift.
Focus First Editor Group
Cmd1
Ctrl1
Focus Terminal
Cmd2
Ctrl2
Focus Agent
Cmd3
Ctrl3
File
Command
Mac
Windows and Linux
New File
CmdN
CtrlN
Open Folder
CmdO
CtrlO
Save
CmdS
CtrlS
Save All
CmdAltS
CtrlShiftS
Close Editor
CmdW
CtrlW
Edit
Command
Mac
Windows and Linux
Find
CmdF
CtrlF
Replace
CmdAltF
CtrlH
Find in Files
CmdShiftF
CtrlShiftF
Replace in Files
CmdShiftH
CtrlShiftH
Rename Symbol
F2
F2
Quick Fix
Cmd.
Ctrl.
Format Document
ShiftAltF
ShiftAltF
Format Selection
CmdKthenCmdF
CtrlKthenCtrlF
Organize Imports
ShiftAltO
ShiftAltO
AI
Command
Mac
Windows and Linux
Inline Edit
CmdK
CtrlK
New Conversation
CmdL
CtrlL
Toggle Agent
CmdShiftA
CtrlShiftA
Take a Tab suggestion
Tab
Tab
View
Command
Mac
Windows and Linux
Toggle Sidebar
CmdB
CtrlB
Show Explorer
CmdShiftE
CtrlShiftE
Show Source Control
CtrlShiftG
CtrlShiftG
Show Run and Debug
CmdShiftD
CtrlShiftD
Open Marketplace
CmdShiftX
CtrlShiftX
Toggle Operations Panel
CmdShiftO
CtrlShiftO
Split Editor Right
Cmd\
Ctrl\
Change Language Mode
CmdKthenM
CtrlKthenM
Terminal
Command
Mac
Windows and Linux
Toggle Terminal
Ctrl`
Ctrl`
New Terminal
CtrlShift`
CtrlShift`
Pull Off Terminal
CmdShiftT
CtrlShiftT
Run Build Task
CmdShiftB
CtrlShiftB
Preferences and Piye
Command
Mac
Windows and Linux
Open Settings
Cmd,
Ctrl,
Open Keybindings
CmdKthenCmdS
CtrlKthenCtrlS
Open Web App
CmdKthenCmdW
CtrlKthenCtrlW
In the chat, Enter sends and ShiftEnter adds a line. With Submit with Cmd+Enter on (Settings, AI), CmdEnter sends and Enter adds a line. While the agent works, Enter reaches it at its next step and CmdEnter waits until it's done.
Change a shortcut
Open Settings, Keymap (CmdKthenCmdS).
Find the command: type part of its name, or keys such as cmd+p or ctrl+shift.
Click Edit and press the new keys.
Reset takes a key back to Piye's default.
If you press keys your computer keeps for itself, Piye says so (for example, on a Mac CmdQ quits and CmdSpace opens Spotlight; on Windows AltF4 closes the window).
Settings, Keymap: search by name or keys, with the Mac, Windows and Linux keys.
Shortcuts for one project
A project can have its own shortcuts in .piye/keybindings.json. They win over yours, which win over Piye's defaults: