(macros)
New: text charts in any buffer

Emacs ideas. A modern engine.

(plot-heatmap field 'mode 'half)

Macros takes what made Emacs worth learning — an editor written in its own extension language, customizable to the core — and rebuilds it on Steel, a fast embedded Scheme, with a GPU renderer underneath. Magit, evil, helix, org-mode, LSP, a debugger, and a terminal ship in the box.

v0.6.7 · macOS · Windows · Linux · free & open source

  • engineRust + gpui, GPU-rendered
  • languageSteel Scheme, hot-reloadable
  • modesemacs · evil · helix

A whole editor · not a plugin host

Code, git, notes. One live image.

Steel Scheme you can evaluate in place, a Magit-style git porcelain, Org mode, and language servers for everything else. Every buffer below runs on the same Scheme you write your config in, so any of it can be rewritten while it runs.

New in Macros · grid buffers

Spreadsheets, in a buffer.

Turn any CSV or TSV into a spreadsheet in an instant, and flip back to the raw text with one key. Write formulas the way you would in any other spreadsheet, and open .xlsx files with their formulas intact and calculated. It's a spreadsheet with the keybindings you love and the configurability you expect.

orders.csv open as a grid in Macros: auto-fitted columns, prices formatted as currency, discounts as percentages, late and pending statuses colored, and a selected range summarized in the mode line as 36 cells, sum 1,709.03, average 47.47.

Switch between the grid and the text

Some days you want cells, and some days you want to see the raw lines. C-c C-t (g r in evil) switches the buffer between the two, and any edits you haven't saved yet come along.

  • Your keybindings come with you. hjkl or C-n, undo, the kill ring, and your own rebinds all work on cells.
  • Saving only rewrites the rows you changed. Quoting, line endings, and encoding stay as they were.
  • What you type is what gets saved, so 007 stays 007.

Formulas that are familiar

We wrote the formula engine from scratch in Rust and followed Excel's rules closely: the same syntax, the same error values, even the same rounding quirks. It covers roughly 95% of what most people do in a spreadsheet, and the docs list what's missing. While you type, you can arrow over to the cell you mean, and if you forget a closing parenthesis it gets added for you.

150
Built-in functions, SUMIFS and XLOOKUP included
.xlsx
Files open and save with their formulas intact
48 ms
To recalculate 100,000 formulas
λ
Write your own functions in Scheme
A revenue column computed with =F2*G2*(1-H2) and a region summary using =SUMIFS(J:J,C:C,L2). The cell being edited shows its formula with each reference colored and the referenced columns outlined in matching colors.
Totals by region with SUMIFS. Each reference gets its own color.
Typing =SUMI opens a dropdown listing SUMIF and SUMIFS with their argument lists, beside a panel showing the selected function's signature.
Start typing a function name and the arguments show up.

Read the grid guide →Formulas and the full function list →

If you've used Emacs

Batteries included.
Every one of them is Scheme.

Steel, all the way down

Commands, keymaps, modes, the mode line — every layer is Scheme you can read, redefine, and re-eval while the editor runs.

Modal, your way

Vim-style evil or selection-first helix, with counts, operators, text objects and dot-repeat. Or stay in Emacs keys.

Magit

Stage hunks, commit, branch, and read diffs in a buffer, powered by gitoxide underneath.

Org mode

Headings, TODOs, agenda, capture, tables, and babel. A real org-mode, written in Scheme.

Language servers

Definitions, references, hover, rename, code actions, and diagnostics in real buffers.

Debugger

Breakpoints in the gutter, stepping, and a variables panel over the Debug Adapter Protocol.

Embedded terminal

A real VT/ANSI terminal, alacritty-backed, running your login shell inside a buffer.

Completion

A corfu-style in-buffer popup with pluggable completion-at-point functions and an LSP fallback.

Text charts

Sparklines, bars, braille plots, histograms, and heatmaps — just colored text, so they work in any buffer.

Grid & formulas

Open CSV, TSV, and .xlsx files as a spreadsheet, switch back to plain text whenever you like, and write Excel-style formulas.

Scheme in, chart out

Six lines to a live report.

Define a command, hand plot-histogram a list of numbers, and show it in its own buffer. Bind it to a key, run it from M-x, or drop the same plot into an Org file with plot-insert.

(define-command (latency-report)
  (plot-show
    (plot-histogram (read-latencies "access.log")
                    'bins 12 'height 6
                    'title "latency (ms)")
    "*latency*"))

read-latencies is yours to write: any list of numbers will do. Text charts reference

NORMAL*latency*plot-mode

Make it yours,
in every color.