Documentation Navigation
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:

ShortcutActionSlash Command Alias
Ctrl+x nStart a new session thread/new
Ctrl+x uUndo the last prompt and revert file edits/undo
Ctrl+x rRedo a previously undone prompt/redo
Ctrl+x cCompact the current conversation history/compact
Ctrl+x eOpen external editor (EDITOR env) to write prompt/editor
Ctrl+x sShare the current conversation thread/share
Ctrl+x qExit the TUI/exit