Repository navigation
Red v0.8.0: Open a directory, stay in the editor
Red v0.8.0 turns directories into navigable, read-only editor buffers. Start with red ., move through entries with familiar keys, and open files in place. Mouse selection, shebang-based syntax detection, and picker navigation make the rest of the trip easier.
Three things to try
- Browse a directory in an editor window. Run
red .or:e path/to/dir, move with normal editor keys, press Enter to open an entry, and use-to go up. Directory buffers are read-only and can be revisited. - Select with the mouse, keep editing with Vim keys. Drag to make a Visual selection, double-click for a word, triple-click for a line, or quadruple-click for a block. The selection remains available for motions and editing commands.
- Highlight extensionless scripts from their shebang. When a filename has no language match, Red recognizes common shell, Node, Lua, PowerShell, and Husk interpreters from the first line. Language packs can register more.
More in this release
- New: Move through picker results with Ctrl-n and Ctrl-p. Use Ctrl-n for the next result and Ctrl-p for the previous one without changing your search query.
- New: Try Rust Glancer as an optional language server. A documented configuration lets Rust projects use Glancer; rust-analyzer remains the default. Install Glancer separately before switching.
Agent support requires an installed Codex CLI and codex login.
What's Changed
Features
- buffers: Browse directories in editor windows by @fcoury-oai in #370
- picker: Support ctrl-n and ctrl-p navigation by @fcoury-oai
- lsp: Support an opt-in rust-glancer configuration by @fcoury in #364
- editor: Add neovim-style mouse selection by @fcoury-oai in #363
- syntax: Detect languages from shebangs by @fcoury-oai in #360
Bug Fixes
- deps: Update rustls past security advisory by @fcoury
- editor: Prevent terminal control injection by @fcoury in #365
- startup: Avoid first-launch config warning by @fcoury-oai in #362
- session: Support symlinked config directories by @fcoury-oai in #361
Documentation
- editor: Document wrapped-line navigation recipe by @fcoury-oai
Contributors
- @fcoury in #372
- @fcoury-oai in #370
Installation
Homebrew
brew install codersauce/tap/redmacOS
curl --proto '=https' --tlsv1.2 -fsSL https://getred.dev/install.sh | shLinux
curl --proto '=https' --tlsv1.2 -fsSL https://getred.dev/install.sh | shWindows
irm https://getred.dev/install.ps1 | iexInstall Codex separately and run codex login to enable agent support.
Checksums
Download SHA256SUMS.txt from this release to verify archives.