DocsUsing Hex1 min read

Commands & shortcuts

⌘K, slash commands, @ mentions and keyboard shortcuts.

The command menu

⌘K

Search chats and projects, open any pane or page, change the theme, or type a question to start a chat with it.

Slash commands

Type / at the start of a message:

CommandWhat it does
/initCreate a HEX.md with instructions for this project
/reviewReview uncommitted changes for bugs
/testRun the tests and fix failures
/commitWrite a commit for the current changes
/plan, /ask, /autoSwitch the agent mode
/effortSet how hard the model thinks
/compactSummarise older messages to free up context
/contextShow what's using the context window
/exportSave this chat as Markdown
/terminal, /filesOpen the terminal or files pane
/newStart a new chat

You can also add your own: put Markdown files in .hex/commands/ in a project, or in ~/.hex/commands/ for every project.

Keyboard shortcuts

KeysAction
⌘KCommand menu
⌘NNew chat
⌘,Settings
⌘\Show or hide the sidebar
⌘J / ⌘E / ⌘BTerminal / Files / Browser
⇧⌘P / ⇧⌘D / ⇧⌘GPlan / Changes / Git
⇧⌘Y / ⇧⌘I / ⇧⌘ADevices / Context / Activity log
⇧⌘M / ⇧⌘LSystem monitor / Models
⇧⌘ReturnMaximise the focused pane
⇧TabSwitch agent mode
@Attach a file from the project

Something unclear or out of date? Email jangidp318@gmail.com.

Commands & shortcuts · Docs · Hex