Repository navigation
xted 0.19.0
Keyboard macros, a shortcut editor, a theme editor, user snippets, crash recovery and legacy encodings.
Install
Linux (x86_64, aarch64, armv7, armv6: the installer picks the one of the machine):
curl -fsSL https://github.com/lejubila/xted/releases/latest/download/install.sh | sh
Windows, in PowerShell (x86_64 or ARM64):
irm https://github.com/lejubila/xted/releases/latest/download/install.ps1 | iex
New
- Keyboard macros (Macro menu and palette):
F9starts recording ([REC]in the status bar) and stops it;Shift+F9plays the macro back. A whole playback is undone with oneCtrl+Z.- Everything typed is recorded, also inside prompts and questions, and so are pastes; the mouse is not.
- «Play macro several times…» asks how many times;
0repeats it while it moves the cursor to a later line, down to the end of the file. - «Play macro on each selected line» runs it from the start of every selected line, even when it adds or removes lines.
- «Save macro…» keeps it in
~/.config/xted/macros/NAME.macro, a text file you can edit by hand; «Macros…» lists them (Enterplays,Deldeletes).
- Shortcut editor («Keyboard shortcuts…», Options menu and palette):
- The list of the commands with their keys, marking the changed ones; search by name or by pressing the key.
Entercaptures a new key,Insadds one,Delremoves one,Ctrl+Rrestores the defaults; a key taken by another command asks first.- «Test a key…» shows how a key arrives and what it does.
- Each change is written at once in
[keys]of the user config, only the differences from the defaults.
- Start and end of the line (
Home,End) are now commands, so they can take other keys. With several cursors they, and «Select to line start/end», act on every cursor. - Theme editor («Edit theme», View menu and palette): a panel with the colors of the theme in use and two sample pages (PHP and Markdown).
- Arrows adjust hue, saturation or lightness,
Entertakes a#rrggbbcolor,Delrestores an entry,Ctrl+Zundoes. - Every change shows at once on the rest of the screen;
Ctrl+Ssaves the theme in~/.config/xted/themes/.
- Arrows adjust hue, saturation or lightness,
- User and project snippets:
.snippetsfiles (snippet … endsnippet) and VS Code snippets (.json,*.code-snippets) in~/.config/xted/snippets/and in the project (.xted-snippets/,.vscode/). The project wins over the user, the user over the built-in ones; they are read again when they change.- Tab stops, mirrors, choices (
${1|a,b,c|}opens a list of the items) and the VS Code variables. - Edit menu: «Insert snippet», «Snippet from selection», «Edit snippets», «Copy a built-in snippet».
- A new
.snippetsfile starts with a reminder of the format and of the variables. While editing, xted suggests keywords, variables and the words of the language, and reports errors on save.
- Crash recovery for named files: a copy of the unsaved changes of each file in
$XDG_STATE_HOME/xted/recover/, written at most every 2 s and removed on save and on exit.- Reopening the file offers to recover it (
Ctrl+Zgoes back to the file on disk); «Recover files» lists the copies left (Deldiscards). - A file already open in another xted is reported.
recover = offturns it off (also from the Options menu).
- Reopening the file offers to recover it (
- Encodings: a file that is not valid UTF-8 opens as Windows-1252 and is saved back byte for byte.
- «Reopen with encoding» and «Save with encoding» (File menu, or a click on the encoding in the status bar): UTF-8, UTF-8 with BOM, Windows-1252, ISO-8859-1, UTF-16.
charsetof.editorconfigis honored.- Saving a character the encoding does not have asks to save as UTF-8.
- The size limit of the binary is now 1 MB.
Files
xted-0.19.0-linux-<arch>forx86_64,aarch64,armv7andarmv6: the Linux binary alone (English interface).xted-0.19.0-linux-<arch>.tar.gz: the same binary with thextlink, the Italian catalog, the manual pages, the icon and the desktop entries.xted-0.19.0-windows-x86_64.zip,xted-0.19.0-windows-arm64.zip:xted.exe,xtedw.exe, the catalogs, README and LICENSE.install.sh,install.ps1: the installers above.
Check the downloads with sha256sum -c SHA256SUMS (on Windows: Get-FileHash).
- Linux: static with musl. x86_64 is built with musl-gcc; the ARM binaries with zig cc.
- Windows: MinGW-w64 (llvm-mingw), Windows 10 1809 or later.
To build from source: make, make ARCH=... or make WIN=1; see the README.
MIT license — Copyright (C) 2026 David Bigagli.