Skip to content

tinyedit 0.3.1

Choose a tag to compare

@robertobissanti robertobissanti released this 08 Sep 16:10
· 40 commits to master since this release

macOS Command-key bridge

  • Experimental opt-in Ghostty support for Cmd-S, Cmd-F, Cmd-Z, Cmd-O, Cmd-W, Cmd-C, Cmd-X, Cmd-A, Cmd-Q, Cmd-G, Cmd-R, Cmd-T, Cmd-Y, and Cmd-D.
  • The Find prompt replaces the old Search wording; Cmd-G toggles regex and Cmd-R starts find-and-replace.
  • When the macOS bridge is enabled, TinyEdit's splash, status hints, help, settings panel, and info slogan show Cmd labels.

Linux terminal background

  • On exit TinyEdit now resets the terminal colors before clearing the screen, so a configured editor background does not remain behind the shell prompt.

Distributable syntax configurations

  • Language definitions now ship in syntax-configs/: LaTeX, Matlab/Octave, and the HTML templates Nunjucks, Jinja, Liquid and Twig. Install them with make install-syntax, which never overwrites files you already have.
  • A .conf can declare its own status-bar name with filetype, so a single file describes both how a language is highlighted and what it is called. Unknown extensions are resolved from the installed configs and recorded in ~/.tinyeditrc.
  • New base_tokenizer = xml and template_delimiters keys describe HTML template languages, whose tags the C-like tokenizer cannot express. Template blocks are highlighted inside attribute values too, so href="{{ url }}" shows its dynamic part instead of one flat string.

Markdown highlighting

  • YAML front matter, with keys and values highlighted separately. Recognized only when it opens the file, so a --- further down stays a horizontal rule.
  • HTML tags embedded in documents, inline and as blocks.
  • Links and images, with the label and the destination in different colors so rows of badges stay readable. Nested [![alt](img)](url) badges are handled.
  • Emphasis may span several lines, closed by its marker or by a blank line. Bounding it at the paragraph keeps a stray * in prose from recoloring the rest of the document.

Enable Experimental macOS Command keys (Ghostty) in F2 and add the documented bindings to Ghostty's configuration file.