Repository navigation
Plain 0.1.0
The first release of Plain, Omarchy's text editor for config files: the editor you don't have to learn. Ctrl+S saves, Ctrl+Z undoes, Ctrl+F finds, and the window closes like any other.
Editing
- Conventional keys throughout: save, open, undo and redo, find and replace, go to line (Ctrl+G), comment and uncomment (Ctrl+/), indent and outdent (Tab, Shift+Tab), word wrap (Alt+Z) and text size (Ctrl+Plus, Ctrl+Minus). F1 or the ? in the footer lists them all.
- Enter keeps the line's indentation, and tabs or spaces are detected from the file.
- Syntax colors for Lua (Hyprland's config), hyprlang, INI and other
key = valuefiles, TOML, JSON, YAML, shell and CSS, from a small built-in highlighter that opens a 10,000-line file in under a second.
Careful with files
- Saves atomically and follows symlinks, so linked configs stay linked.
- Keeps line endings, a byte-order mark and the final newline as they were. Opening and saving without edits gives back the same bytes.
- Never saves over a version you haven't seen: it checks the file right before every save, and asks when something else changed or deleted it.
- Asks before writing in place when replacing the file would lose hard links, ownership, special permission bits or extended attributes.
- Opens only valid UTF-8 text. Files that belong to root open read-only, with a lock in the footer and the
sudoeditcommand to edit them.
Fits the desktop
- Follows the Omarchy theme, font and text size live, with dialogs in the theme's colors and Hyprland's corner rounding.
- Works as
$EDITOR,$VISUALand$SUDO_EDITOR: it runs in the foreground and exits when its window closes.