usage
Terminal User Interface
Running Codey without parameters launches the interactive Terminal UI (TUI) in your active folder. This environment provides prompt input, tool logging, streaming responses, and visual file previews.
bash
cd /my/project
codey#File References
Include references to specific files by typing @ followed by the filename. This activates a fuzzy search tool, reading and adding that file's contents into the model prompt.
#Running Shell Commands
To run a shell command from within your session and feed its output directly into the agent, prefix your message with an exclamation mark:
bash
!npm run test#Keyboard Shortcuts
The leader key is Ctrl+x by default. Press it followed by a command shortcut key:
| Shortcut | Action | Slash Command Alias |
|---|---|---|
| Ctrl+x n | Start a new session thread | /new |
| Ctrl+x u | Undo the last prompt and revert file edits | /undo |
| Ctrl+x r | Redo a previously undone prompt | /redo |
| Ctrl+x c | Compact the current conversation history | /compact |
| Ctrl+x e | Open external editor (EDITOR env) to write prompt | /editor |
| Ctrl+x s | Share the current conversation thread | /share |
| Ctrl+x q | Exit the TUI | /exit |