Mimir

Notes

Notes are ordinary files in one directory. Mimir never invents a database or a proprietary format - it lists files and opens them.

Formats

KindExtensionsHow it opens
Markdown.md .markdown .mdxEdited in place
Text.txt .rst .org .adoc .text .logEdited in place
Document.pdf .doc .docx .odt .rtf .pages .epubDesktop application
Drawing.excalidraw .drawio .dio .fig .sketch .svgDesktop application
Image.png .jpg .jpeg .webp .gif .heicDesktop application

The line between the two groups is text, not importance. A PDF cannot be edited as text without guessing at its bytes, so Mimir shows a card with the file's size and date and hands it to the application registered for that format. No shadow copy, no conversion, no silent corruption.

The directory is $XDG_DATA_HOME/mimir/notes unless notes.directory says otherwise. Point it at an Obsidian vault or a synced folder and it lists what is there - see Configuration.

Editing

Press e (or Enter) on a Markdown or text note to open the in-place editor. It is a real multiline editor with cursor movement and selection; Ctrl+S writes the text you see, Esc leaves. Edits are never auto-saved: while the buffer differs from the file the header says unsaved, and leaving without saving discards the change.

x is the escape hatch to your editor. It opens the file with $VISUAL/$EDITOR (or nvim, vim, nano) inside a Terminal pane, so the file ends up in the same session HUD as everything else. o opens it with the desktop's default application instead, which is what you want for a PDF or a drawing.

n creates a note: type a title, press Enter, and <date>-<title-slug>.md is created with that title as its heading, ready to edit.

Dates

Every list row and the preview header show the file's modification date as Oct 20, 2026 - month written out, day, four-digit year - plus the time in the preview header. Sorting is by modification time, newest first, because a notes list is almost always a recent-work list.

The date formatter lives in src/services/notes/notes.ts and is covered by a test, so the format does not drift between the list, the header and the empty states.

Preview

The right pane shows the selected file:

  • text formats render as plain text with a scrollable body (no half-parsed Markdown, no hidden syntax);
  • documents, drawings and images show a short card with format, date and size and the two ways to open them;
  • Shift+J / Shift+K scroll the preview by a few lines.

The list and the preview are two panes of the same section, so the Notes rail entry is all you need: no mode switch, no separate viewer.