Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Aug 22:15
· 7 commits to main since this release

Inline images, a Markdown-aware insert mode, and a binary you can download.

New

Images render in the note. A line holding nothing but an image reference
draws the picture under it, scaled to fit your note and never more than half the
window. Paths are relative to your notes directory, or absolute, or start with
~, and nothing is fetched over the network. Needs a terminal speaking the kitty
graphics protocol, which Ghostty and kitty do; everywhere else the line stays
text and nothing else changes.

Insert mode follows the Markdown around the cursor. Enter after a heading
leaves a blank line for body text. Starting a list, ordered or unordered or a
task, leaves a blank line after preceding prose. Enter continues the marker and
indentation, and a checked task continues as an unchecked one. Tab and Shift-Tab
nest an item and its children once it has a sibling to nest under.

gx opens the Markdown link under the cursor.

The Vim register and the system clipboard move together. Yanks, deletes,
changes and substitutes update both, and p reuses that register. Cmd+C copies
a visual selection where the terminal forwards Command keys.

A downloadable binary. Releases now carry macOS and Linux on arm64 and
amd64, and Windows on amd64, with checksums.

Fixed

  • Wrapped lines keep their indentation, and editing across one behaves.
  • The block cursor stops blinking in normal mode.
  • Browsing forward past today returns to today rather than walking into empty
    days.
  • main did not compile for a day: image.go called an accessor that had never
    existed. It does now.

Changed

The documentation moved out of the README into docs/: a guide, the keymap,
install. The README is a front page with a picture of the thing.

Install

curl -fsSL https://raw.githubusercontent.com/praxis-labs-io/zen-notes/main/install.sh | sh

macOS and Linux, arm64 and amd64, and no Go needed. Windows takes the .zip
from this page, the installer being a POSIX script. Anything else:

go install github.com/praxis-labs-io/zen-notes@v0.2.0

Install in full,
the keymap,
and the guide.

Known gaps

  • No Homebrew tap.
  • The installer checks the download against the release's checksums before it
    installs anything, and refuses where neither sha256sum nor shasum is on
    PATH.
  • Not in yet: . repeat, named registers, marks, macros, the jumplist.