Skip to content

v0.9.2

Choose a tag to compare

@github-actions github-actions released this 22 Oct 13:47
· 23 commits to main since this release

What's fixed

A second $ on a wrapped line reaches the end of the line. With soft wrap on, $ stops at the end of the row you can see, as it does in the desktop app. Pressing $ again there used to do nothing, so the end of a long line was out of reach. It now goes on to the end of the line, where Vim's $ lands. g$ still stops at the end of the row, and d$ still deletes only what you can see. For Vim's $ on the first press, set vim.wrapped_line_motions = "logical" in config.toml. Thanks to Scotty for the report.

Typing ``` makes a code fence instead of four backticks. With auto pairs on, every backtick got a closing partner, so ``` turned into ```` with the cursor before the fourth, and Enter split the line. A backtick typed right after another one now just adds to the run: type ``` (and a language if you like), press Enter, and the closing fence appears on the line below the cursor, as in the desktop app. A single backtick still pairs, so `code` types as before. Thanks to Scotty for this one too.

Changelog

  • 8ada218 Fix(editor): typing ``` makes a code fence instead of four backticks
  • ebb1fc9 Fix(vim): a second $ on a wrapped line reaches the end of the line

Install

With Homebrew on macOS or Linux, run brew install zennotes/tap/zn, then zn tui.

Download the archive for your platform, unpack it, and put zn on your PATH.
With Go installed, go install github.com/ZenNotes/tui/cmd/zn@latest builds the same thing.