Skip to content

Red Editor v0.11.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Nov 18:33
· 2 commits to main since this release
c42adff

Red v0.11.0: Markdown that reads like the document, and a new way to explore code

Red v0.11.0 shows Markdown the way it reads: tables as grids, links without their URLs, and images right in the buffer, while every line stays editable source. Code explore is a new reading mode that follows names, dims a function to the calls that matter, and keeps a trail of where you have been, without sending your code to a model.

Highlights

  • New: Markdown that reads like the document. Pipe tables draw as aligned grids, and link URLs, emphasis markers, and backticks take no space, so paragraphs wrap on the words you see and gj and gk move over them. The file never changes: move onto a line, or enter Insert or Visual mode, and that line shows its raw Markdown. :markdown-tables and :markdown-conceal toggle each split.
  • New: Images in your Markdown. A line that holds only ![alt](path) shows the picture in the buffer, at full resolution in Kitty, Ghostty, WezTerm, iTerm2, and Sixel terminals, including through Herdr, Zellij, and tmux passthrough, and as smoothed block characters elsewhere. Moving onto the line shows its source above the picture without shifting the text below, and scrolling crops the image instead of squashing it. Set markdown_images to choose the protocol or turn it off.
  • New: Follow links and tick tasks. gx follows a link to a web page, a local file, a heading, or a file:line reference, and Ctrl-o comes back. Ctrl-w x opens a link in a split beside the document and reuses that split for the next link. gT toggles a task checkbox as one undoable edit.
  • New: Explore code without asking a model. Space e e opens Code explore: a sidebar that follows the cursor with the enclosing function, the name under it, its definition, and its matches. Space e f follows a name, Space e s dims a function to the calls into your project and the system, and Space e d and Space e b jump to a definition and back along a review trail. The error list moved from Space e to Space D.
  • Improved: Change any setting for one launch. red -c theme=onedark.json -c languages.rust.indent_width=2 sets dotted keys for a single run, and quotes are optional for plain words. Later flags win, a mistyped key suggests the closest setting, and red --print-config shows the merged result.
  • Improved: Scrolling that remembers its distance. A count before Ctrl-d or Ctrl-u sets how far later presses move, as in Vim, until the window is resized. Ctrl-y and Alt-e scroll the view one line and leave the cursor in place.
  • Improved: Steadier under failure. A language server that fails or is missing no longer interrupts editing, an update retries when macOS still reports the new binary busy, and a saved Agent conversation is found again on macOS workspaces under /var and /private/var. Intel Mac builds now come from Intel runners.

What's Changed

Features

  • editor: Add a deterministic code explore mode by @fcoury in #426
  • editor: Remember counted half-page scrolling by @fcoury in #432
  • editor: Render markdown images inline by @fcoury in #430
  • cli: Override config with repeatable -c key=value flags by @fcoury in #431
  • editor: Wrap markdown lines on concealed text by @fcoury in #429
  • markdown: Render tables and follow links in the editor by @fcoury-oai in #424

Bug Fixes

  • explore: Call a called method a call, not a field by @fcoury
  • ci: Build Intel macOS artifacts on Intel runners by @fcoury in #428
  • deps: Update audited dependencies to patched releases by @fcoury in #427
  • markdown: Reuse grapheme counts in table layout by @fcoury-oai
  • editor: Keep lsp failures from aborting editing by @fcoury-oai in #423

Documentation

  • Prepare the v0.11.0 release around Markdown and Code explore by @fcoury in #433

Tests

  • lsp: Wait for server exit before checking failure by @fcoury-oai

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.10.0...v0.11.0