Red

Settings and keys

Red has no settings screen. It has two files you edit, and a few flags.

The two files

settings.toml holds Red's settings, and keys.toml holds the key bindings you change. Neither exists until you want it: the commands Open settings and Open key bindings make the file with every setting or binding in it, commented out at its default with a line on what it does. Uncomment a line to change it.

Flags and environment variables

As they stand in the README today.
red [PATH]Open the project in PATH, or in the current folder. A file opens in the repository it belongs to.
--look ember|paper|inkChoose a look. Without it, Red wears ember when your system is dark and paper when it is light.
RED_TSRSThe tsrs program to run for TypeScript and JavaScript.
RED_RUST_ANALYZERThe rust-analyzer to run for Rust. off runs none.
RED_NO_PICTURES=1Don't tell Claude how to draw diagrams and sketches.
RED_LOCALEThe language, instead of the system's. Red is written in English and it is the only language that has been checked.

Red keeps threads, drafts and each project's window in one SQLite database, red.db. It is in $XDG_DATA_HOME/red, or ~/.local/share/red without it, and in ~/Library/Application Support/red on a Mac.

red ~/code/project --look ink

Default keys

On a Mac the terminal's copy and paste are ⌘ C and ⌘ V. The README has the other differences.

Threads and the agent
Ctrl NA new thread
Ctrl Shift NA new thread in a worktree of its own, on a red/ branch
Ctrl LPut the keys in the prompt. Enter sends, Shift Enter adds a line, Esc stops the agent
Ctrl Shift DDictate into the prompt with Hex
Ctrl Shift GThe last turn as one diff, or the editor again. Tab switches to what changed since the last commit
Ctrl \In the diff, split or unified
Files and the editor
Ctrl POpen a file by name. :120 goes to line 120
Ctrl Shift PRun a command by name
Ctrl S, Ctrl WSave, close the tab
Ctrl F, Ctrl H, F3Find, replace, next match
Ctrl DSelect the word, then add its next match as another selection
Shift Alt Up/DownAdd a caret above or below
Ctrl /Comment or uncomment the lines
Alt ZWrap long lines or not
Ctrl Shift B, Ctrl Alt BShow or hide the threads and files, and the code
The language servers
Ctrl Space, Ctrl Shift SpaceCompletions, what the call takes
Ctrl KWhat is at the caret
Ctrl .Fixes and refactors at the caret
F2Rename, across the project
F12, Ctrl F12, Shift F12Go to the definition, the type's definition, list the references
Alt Left/RightBack and forward through jumps
F8, Shift F8Next and previous problem in the file
Ctrl Shift MEvery problem the servers know, by file
Shift Alt FFormat the file
The terminal
Ctrl `The terminal of the project, or of the shown thread's worktree. From a terminal, back to the file
Ctrl Shift `Another terminal
Ctrl Shift C, Ctrl Shift VCopy, paste
Ctrl F, Ctrl Up/DownFind in the terminal and its scrollback, the previous and next prompt
Ctrl clickOpen a file:line:col in the editor, or a link in your browser