Skip to content

xted 0.16.0

Choose a tag to compare

@lejubila lejubila released this 29 Nov 22:28

A menu bar with buttons, Git blame and the comparison with the last commit, format on save, soft wrap, go to definition, the current function in the status bar, recent files and the history of the jumps.

Install

Linux:

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

Windows, in PowerShell:

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

New

  • Menu bar on the top row, like a desktop application: File, Edit, Selection, Search, View, Tools, Markdown (in a Markdown file), Options and Help, with every command and its shortcut (the one in use, also if changed in [keys]). Items that cannot be used now are greyed, settings that are on have a ✓ and switching one keeps the menu open. A click on a title opens its menu, a click on an item runs it; from the keyboard F10, the arrows, a letter, Enter and Esc. On the right, buttons for back and forward in the history of the jumps, Save (highlighted with unsaved changes), Undo, Redo and Find. menubar = off (or "Menu bar" in Options) hides it; F10 still opens it.
  • Who changed this line (Alt+Shift+B, git blame): commit, author, date and subject of the line of the cursor in the message row. Unsaved changes count: a changed line is "not committed yet".
  • Compare with the last commit (Alt+Shift+D): the differences of the buffer, also unsaved, from HEAD as a unified diff in a [Diff] pane, with added and removed lines in the colors of the Git markers. Enter or a double click on a line goes to that line of the file; the pane is brought up to date on each save.
  • Format on save with an external formatter, off by default. format = auto uses what the project declares: pint or php-cs-fixer (PHP), black or ruff (Python), prettier (JavaScript, TypeScript, CSS, JSON, Markdown, YAML, HTML), clang-format (C), rustfmt (Rust), gofmt (Go); the program of vendor/bin or node_modules/.bin comes first. Or a command of your own per language, with %f (the file) and %t (a temporary file, for tools that only work on files). The change is one undo step; a formatter that is missing, fails or takes more than 10 seconds never stops the save, and the message says why. "Format document" (Alt+Shift+F) formats without saving, "Save without formatting" skips it once.
  • Soft wrap (Alt+Shift+Z, wrap per language, on for Markdown and text): long lines go on in the rows below, broken after a space and indented like the line or the list item; Up and Down move by rows of the screen.
  • Go to definition (F12, Ctrl+click) from the index of the symbols, also in another file: a method in the class of the object and in its bases, a variable goes to the class of its instance, in C the body wins over the prototype; more definitions in a list. With no result, the tags file as before.
  • The current function in the status bar: "in Class::method" beside the file name, from the same index as Ctrl+T. current_function = off hides it.
  • Recent files (Alt+Shift+P): the files opened last, also from other folders, with the place of the cursor.
  • History of the jumps (Alt+Shift+Left, Alt+Shift+Right): back and forward between the places jumped from (symbol, definition, line, search, result, error, bracket, another file), as in a browser.

Fixed

  • In a .diff or .patch file, a context line with a - or + after its indentation was colored as removed or added.
  • The text after the suggestion popup was the one under its start instead of the one under its end.
  • With the focus in the file browser the function keys it does not use (F1, F10…) did nothing.

Files

  • xted-0.16.0-linux-x86_64: the Linux binary alone (English interface).
  • xted-0.16.0-linux-x86_64.tar.gz: with the xt link, the Italian catalog, the manual pages, the icon and the desktop entries.
  • xted-0.16.0-windows-x86_64.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. Windows: MinGW-w64 (llvm-mingw), x86_64, Windows 10 1809 or later. To build from source: make, or make WIN=1; see the README.

MIT license — Copyright (C) 2026 David Bigagli.