Skip to content
xted GitHub
ITEN

A terminal editor that works like a graphical one

Menus, mouse, Ctrl+S, Ctrl+C, Ctrl+V and Ctrl+Z, no modes. One static binary under 1 MB, starts in under 50 ms, no dependencies. Runs on Linux (Raspberry Pi included) and on Windows 10 and 11.

curl -fsSL https://github.com/lejubila/xted/releases/latest/download/install.sh | sh
A project open in xted: the menu with F10, the command palette with Alt+X, a suggestion that adds the import, and a save.

Already built in: no plugins, no language server, no configuration

Pick a symbol, the import writes itself

Suggestions know the file, the project and the standard library. Accept a name and xted adds the import, #include, use or using where it belongs, in Python, JavaScript and TypeScript, Go, Rust, Java, C#, PHP, C and C++.

F12 goes to the definition, also in another file. How suggestions work

In Python and Go, a symbol is picked from the popup and the import line appears in the right group.

The AI you like, with every change under control

xted works with any program that reads the request on stdin and writes the answer to stdout: claude -p, llm, ollama or a script of yours.

The proposal comes as a diff: Enter applies it, one Ctrl+Z takes it back, Esc discards it. There is a chat too, below the text or beside it. AI in xted

F2 asks what to change, the proposal shows as a diff in the “[AI] proposal” pane and Enter applies it. The answer in the recording is a sample: in real use it comes from the program you choose, such as claude -p, llm or ollama.

Read your Markdown while you write it

Alt+U opens a preview beside the document, rendered in the terminal: headings, real bold and italic, aligned tables, highlighted code blocks. It follows the text and the cursor. Markdown

The Markdown preview updates as you type.

Menus, mouse and clickable keys

The menu bar is at the top; at the bottom are the keys that are useful right now, and with the mouse they are buttons. The command palette (Alt+X) lists all 148 commands, settings included.

File browser, fuzzy quick open and split panes are part of the editor. Interface

The file browser with Ctrl+B, quick open with Ctrl+P, then two panes side by side and one below.

10 themes, and a live editor for the one you miss

Alt+T shows each theme as you move through the list. With Edit theme you change colors from a panel with a palette and see the result on code and Markdown at once. Themes

The theme list with its preview, then Edit theme with the palette open.

Nothing gets lost

Buffers with no file are kept between sessions. After a crash or a dropped SSH connection, xted offers to recover the unsaved changes. Each folder reopens its files, cursors and panes. Recovery and sessions

Git in the margin

Added, changed and deleted lines are marked on the left. Alt+Shift+B says who changed the line, Alt+Shift+D compares the buffer with the last commit. Git

Format on save

With format = auto xted recognizes the formatter your project declares (pint, black, ruff, prettier, clang-format, rustfmt, gofmt and others) and runs it on every save. Formatting

One file, everywhere

Binaries for x86_64, aarch64 and Raspberry Pi (armv7 and armv6) on Linux, x86_64 and ARM64 on Windows. It joins the desktop menu and "Open with", and files open in the xted already running. Desktop and Windows

Install with one line

Linux

curl -fsSL https://github.com/lejubila/xted/releases/latest/download/install.sh | sh

As a normal user it installs in ~/.local, no sudo.

Windows (PowerShell)

irm https://github.com/lejubila/xted/releases/latest/download/install.ps1 | iex

No administrator rights needed.

Variants, manual downloads and building from source