Skip to content

Red Editor v0.12.0

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Nov 18:21
· 8 commits to main since this release
62435c7

Red v0.12.0: Find in Files without ripgrep, and new ways to install Red

Red v0.12.0 bundles FFF for Find in Files, so project-wide search works on a fresh install with nothing else on PATH, and both search pickers now show which filters are on. Red can also be installed with Nix, Scoop, or a DEB or RPM package.

Highlights

  • Improved: Find in Files without ripgrep. Space g searches with FFF built into Red instead of launching rg, so it works on a fresh install with no external tools and an empty process allowlist. A background index skips files that cannot match, ignore rules are checked on every query, and the first matching line appears as soon as it is found. On Red's own checkout on macOS, a typical search completes in 11 ms, against 22 ms with rg. Smart case, regex and literal search, and Unicode-correct jumps to the match all work as before.
  • New: See which search filters are on. When a filter changes what a picker searches, its name appears on the picker's footer line, next to the result count: +hidden and +ignored after Alt-h and Alt-i in Find in Files or Ctrl-e in the file picker, +symlinks after Alt-f, and literal when Alt-r turns regex off. Default settings show nothing, so the footer stays clear until a filter is on.
  • New: Install with Nix, Scoop, DEB, or RPM. nix run github:codersauce/red runs Red from its flake on Linux and Apple Silicon macOS. On Windows, scoop bucket add codersauce https://github.com/codersauce/red and then scoop install codersauce/red-editor. Each release now includes DEB and RPM packages for x86-64 Linux. These packages install the command as red-editor, so it does not clash with the red command from GNU ed.

What's Changed

Features

  • picker: Show active search filters as divider badges by @fcoury in #440
  • search: Bundle FFF for Find in Files by @fcoury-oai in #438

Documentation

  • release: Write the v0.12.0 campaign by @fcoury in #441

Other

  • Add Nix, Scoop, DEB/RPM and AUR packaging by @fcoury in #439

Contributors

Installation

Homebrew

brew install codersauce/tap/red

macOS

curl --proto '=https' --tlsv1.2 -fsSL https://getred.dev/install.sh | sh

Linux

curl --proto '=https' --tlsv1.2 -fsSL https://getred.dev/install.sh | sh

Windows

irm https://getred.dev/install.ps1 | iex

Install Codex separately and run codex login to enable agent support.

Checksums

Download SHA256SUMS.txt from this release to verify archives. Its signature,
SHA256SUMS.txt.minisig, verifies with minisign:

minisign -Vm SHA256SUMS.txt -P RWRNnsasbTdAjgpMwO4feHrX57Rr4uPupGSKZxVZRDTi3IuRON8kF3hE

Full Changelog

v0.11.1...v0.12.0