Repository navigation
mori 1.0.4
Nothing automatic can throw your writing away any more. Autosave stops and asks before it saves a document that has mostly disappeared, a reload from disk can be undone, and earlier versions of every file are kept. Every line of text now sits on one grid, and marks follow one rule. Your files do not change unless you change them.
Your text is safe
- Autosave pauses before a mass deletion. When most of a document is removed — half of it and at least 200 bytes — autosave stops and asks: Restore puts the saved text back, Keep the change saves it. Undo your way back and the pause lifts by itself; Ctrl+S still saves.
- A reload can be undone. A file changed on disk now arrives as one undo step, so Ctrl+Z takes it back out and the history before it is kept. A reload used to clear it.
- A file emptied by another program is not reloaded silently. A sync client or a cloud drive can show an empty file for a moment; mori reads it again 0.6 s later and asks only if it is still empty.
- "Save changes?" means it. While the card waits for an answer, autosave waits too; it used to write the very words the card was asking about.
- Undo reaches 10,000 steps back, where it stopped at 1,000.
- Earlier versions are kept. Before a save replaces a file, mori keeps what it replaces in its own folder — at the first save of a session, every ten minutes, and before a mass deletion — up to 50 per document.
One line height for every line
- Inline code no longer changes the spacing. A line with
code()in it stood 28.6 px where the lines around it stood 26, because the code face is taller than the body face. Every line now sits on one grid; only something genuinely taller, like a large formula, makes room for itself. - Code blocks keep one pitch. Wrapped rows stood 21.85 px apart (19.55 px for Hangul) where lines stand 23. A blank line inside a block is a code line too; it stood at the body's 26 px.
- Wrapped lines stay even at every font size. Only 16 px lined up; at 18 px the wrapped rows of a paragraph stood 28.7 px apart where its lines stood 30.
- Headings and bold-only lines stay still. A line starting with a hidden mark —
#,**,*,~~— lifted by 2 to 3 px when the caret left it. - Inline code chips are one height, whether they hold Latin or Hangul, and a selection fills the space between wrapped lines.
Marks and strikethrough
- One rule for every mark — bold, italic, strikethrough, highlight, inline code and maths. If all of the selection already has the mark, it comes off exactly the selected text; otherwise the mark goes on and joins any span of it the selection touches, so a selection running out of a bold word makes one bold span, not two. With only the caret, the whole span comes off.
- A selection across paragraphs, list items or table cells is marked in each of them, and the result is read back before it is written.
- Strikethrough is two tildes. A single tilde is text, so
10~20and30~40in one sentence no longer strike out everything between them. With subscript turned on,H~2~Ois still a subscript.
Windows, tabs and scrolling
- Holding Ctrl+W closes one tab. Keyboard auto-repeat used to close the tab, the next one and then the window. Every shortcut that opens, closes, saves or inserts now acts once per press.
- Ctrl+Shift+N opens a new window with an untitled document.
- A new tab shows the unsaved dot from the start — it is not saved anywhere until you save it.
- Save As, Open and Export start in your folder, not in your home folder.
- Fast scrolling keeps up. A free-spinning wheel sends several notches per frame, and each restarted the motion from where the view was last drawn, so scrolling slowed exactly when you scrolled fastest.
The Windows app gets all of the above and updates through the Microsoft Store.
Install
- Ubuntu 22.04+ / Debian 12+:
sudo apt install ./mori_1.0.4_amd64.deb, or the apt repository (https://get.motemd.com) — the .deb carries its own GTK under /opt/mori - Any distribution with Flatpak:
flatpak install --from https://get.motemd.com/flatpak/mori-stable.flatpakref, orflatpak install ./mori-1.0.4-x86_64.flatpak(both register mori's own repository, soflatpak updatekeeps it current) - Ubuntu 22.04+ and any glibc 2.35+ distribution: the AppImage, or
curl -fsSL https://get.motemd.com/install.sh | sh - Verify:
gpg --verify SHA256SUMS.asc SHA256SUMS && sha256sum -c SHA256SUMS— fingerprint2E25 9EF2 B369 0ECE 0B3F 56D9 6658 9312 CB84 475F, key https://get.motemd.com/mori.asc