Skip to content

0.2.6

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 13:22

Release Notes

Editing

  • :42 goes to line 42 and :$ to the last line. Like 42G, it opens a
    fold it lands in and puts the line on top in read-only mode (#176).
  • G, gg, 42G, :42, H, M and L keep the cursor's column, as
    j and k do, and so do dd and >> / <<: Neovim's default. They
    went to column 0 or to the first non-blank. Undo and redo put the cursor
    back where Neovim does, a column remembered on a tab is the tab's last
    cell, and the cursor never lands on a combining accent (#176).
  • Line addresses and ranges on the : line, as Neovim: :+3, :.-2,
    :$-1, :3,7, %, and '<,'>, which : types for you from Visual.
    They work with :d, :y, :>, :<, :m, :t / :co, :fixlist
    and :w path (only those lines); without a range each works on the
    cursor's line (#182).
  • A linewise yank or case change leaves the cursor where its range
    starts, as Neovim: yk, ygg and Vky keep the column, guu and
    gUU land on the first non-blank, Vgu and VU at the line's start.
    Undo and redo of a case change come back to the same place, and 2gUU
    on the last line does nothing (#180).
  • gu and gU work in Visual mode (#180).
  • / and ? search with Vim patterns, as Neovim: \<word\>, \(a\|b\),
    \{n,m}, \v, \c, \zs/\ze, \n across lines (#185).
    Back-references inside a pattern and look-arounds give an error.
  • :s/pattern/replacement/flags with ranges (:%s, :'<,'>s), the
    flags g c i I n e &, &, \1, ~, \u \U \l \L, \r in the
    replacement, and the repeats :s, :&&, & and g&, as Neovim. One
    u undoes it (#185).
  • g~ toggles case over a motion or object, g~~ over lines, and in
    Visual as ~; . repeats it (#186).
  • 2dd, 2yy, 2cc, 2>>, 2<<, 2guu, 2g~~ and 2Y on the last
    line change nothing, as Neovim (#186).
  • f, t, F, T find a tab with Tab. r then Tab replaces with a
    tab (spaces to the next stop with expand_tab), r then Enter splits
    the line. r counts a letter and its combining accents as one
    character (#186).
  • After $, j, k, G, gg, :N, the paging keys and scrolling stay
    at the end of each line, as Neovim (#187).
  • In Visual mode $, l, and j/k onto a shorter line reach the line
    break, as Neovim, so v$d and v$p take it too, and a selected line
    break is drawn (#187).
  • d$, y$ and c$ on a line's last character act on it (#187).
  • Insert Tab with expand_tab types spaces to the next tab stop, and
    Backspace in a line's indent goes back to the stop before, as
    Neovim's default smarttab (#187).
  • >>, <<, > over a motion or in Visual, :>, :< and the list
    shifts rewrite a line's whole indent, as Neovim: all spaces with
    expand_tab, else tabs then spaces, so >> on a tab-indented line
    gives 8 spaces, not 4 spaces before the tab. List items shifted
    together keep their nesting. Whitespace-only lines shift too; only
    empty lines are skipped (#192).
  • A file without a final newline keeps its lines as Neovim does: a new
    empty last line, however it was made (o, A Enter, cc, p,
    :t $), stays a line, also after :w, and a save writes what Neovim
    writes with and without fixeol. Typing into an empty file gives its
    line a newline (#193).
  • The indent Enter or cc lays down is kept once anything is typed and
    goes again on Esc, Ctrl-c, another Enter or a move to another
    line, as Neovim's autoindent. Insert Ctrl-c steps back as Esc
    does, and Insert Right and Delete stop at the end of the last line
    (#193).
  • c$, C, cl, ch, c0, c^ and ciw on an empty line, or where
    h, 0, ^ cannot move, enter Insert, as Neovim; 2C and 2D act
    as c2$ and d2$ (#193).
  • Insert End keeps to the end of each line Up and Down reach, as
    $ does (#193).
  • An edit that changes nothing (gUU on capitals, ~ on a digit, x on
    an empty line) is an undo step that leaves the file unmodified, as
    Neovim; u and Ctrl-r bring the cursor back to it. >> on an empty
    line marks the file modified (#193).

Math

  • \mathbb, \mathcal, \mathscr and \mathfrak draw Unicode letters
    (ℝ, 𝒪, 𝔤) in inline and display math. An argument with no Unicode form
    stays as typed (#179).
  • HTML export shows math as MathML, drawn by the browser with no script,
    when pandoc is installed. Without it, formulas stay TeX and the export
    says math left as TeX: no pandoc; a formula pandoc can't read keeps
    its TeX on its own (#173).
  • Display math draws an unknown command with its braced arguments as
    written: \mathcal{F} shows \mathcal{F}, not \mathcalF (#172).

Display

  • A tab reaches the next tab stop, every tab_width cells from the start
    of the line, as Neovim's tabstop, instead of being a fixed
    tab_width cells wide. The cursor, j / k, clicks and wrapping count
    it the same way; list nesting is unchanged (#181).
  • The cursor on the first character of a wrapped line's second row is
    drawn on that row, not at the end of the row above (#181).
  • An embed no longer drops letters or shows ** and [ where bold text
    or a link wraps across rows, and :embed full uses the whole measure
    (#181).
  • In Normal mode the cursor on a tab is drawn on its last cell, as
    Neovim; Insert keeps it on the first (#187).
  • Image embeds in :embed full use the whole measure when
    transclude.border is on (#184).
  • A search match or :s///c match that takes a line break (/b\n) is
    drawn with one highlighted cell after the line's text, also on the
    last line of a file without a final newline (#192).
  • Mermaid fences preview as text diagrams, drawn by a local Merman CLI
    you name with mermaid_renderer under [markdown], in user config or
    --config: a config found in the working directory cannot set it and
    says so. Moving the cursor into a fence, a Visual selection, a search
    or an :s match shows its whole source, as does concealment off. A
    diagram that fails, times out or does not fit keeps its source, with a
    status row above it saying why. Previews work in -R, --render and
    expanded embeds, and mermaid_graphics = true draws PNGs on Kitty and
    iTerm2 terminals (#188).
  • At most 32 diagrams render at once, shared between split panes; the
    others show their source. A diagram that timed out waits for an edit
    or :reload; a missing renderer is tried again every few seconds, so
    installing it needs no restart (#188).
  • HTML and PDF export draw Mermaid diagrams as PNGs when
    mermaid_renderer is set. A diagram that fails keeps its source, and
    the message gives how many and the first line. Markdown and text
    export keep the source (#188).
  • The view keeps the same text on top when the rows around it change
    height or re-wrap: a diagram arriving or going, a resize, a split, a
    new measure (#188).
  • In iTerm2 and WezTerm, the box of a picture cut off by the top or
    bottom of the screen says "shown once it is all on screen", or
    "too tall to show on this screen" if the picture cannot fit (#202).

Reading

  • Read-only mode (-R, :view) scrolls through a display math block, an
    embed or a wrapped line taller than the window, and on to the lines
    below it. j k move a screen row, as in less, and Ctrl-f Ctrl-b
    a page (#174).
  • In read-only mode, a search that lands inside a Mermaid diagram shows
    its source with the match highlighted, until the view moves or Esc
    (#188).

Docs

  • A Math page: inline and display math, editing a block, when a block is
    not laid out, export, and the supported commands, with a recording
    (#170).
  • A Mermaid page: setting up Merman CLI (tested with 0.11.0), text and
    PNG previews, export and the limits, with demo notes in
    examples/mermaid/ for seven diagram families and three stress cases
    (#188).
  • The guides and in-app help are updated for this release, and Getting
    Started lists Merman CLI for Mermaid. The README has two new recordings
    of Mermaid diagrams, as text and as pictures, and fresh recordings of
    the splash screen, formatting, editing, transclusion and reading
    (#200, #201, #202, #203).

Fixes

  • Saving a buffer emptied by deletion writes an empty file, as Neovim
    (#184).
  • :w and :saveas to a hard link or symlink of the file being edited
    treat it as that file (#185).
  • On 16- and 256-color terminals, selections, :s///c matches and
    search matches draw their own text color, as Neovim, so bold, links
    and code under them stay readable, and so does text on an
    ==highlight== in the highlight's own color. Fallbacks never change a
    palette color you set; truecolor is unchanged (#191).
  • A carriage return at a line's end in a file without CRLF endings
    (abc\r with no final newline, one CRLF line among LF ones) is part
    of the line, as Neovim: A types after it, and :diff keeps it
    (#193).
  • A recovery file has the file's own end: no final newline when the
    file had none (#193).
  • :revert! marks the buffer clean when its text already matched the
    file, when only the final newline or line ending changed on disk
    (#193).
  • A closing fence indented four or more columns past its list item's
    text, or past the margin, is part of the code, as in CommonMark (#188).
  • shoin --render no longer prints the hint bar under the page (#188).
  • --export prints config warnings on stderr (#188).
  • :export html and :export pdf run in the background, so you can keep
    editing. Before writing, an export checks again that its destination
    has not changed since it started and has not become, by a rename, the
    document or a note it embeds (#188).
  • --out writes every format, PDF too, to a device, a named pipe or a
    descriptor: --out /dev/stdout | lpr, /dev/null, >(cmd). A named
    pipe nothing reads fails at once instead of hanging, and a directory,
    socket or block device is refused (#188).

Install shoin 0.2.6

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/nol00p/Shoin/releases/download/v0.2.6/shoin-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install nol00p/tap/shoin

Download shoin 0.2.6

File Platform Checksum
shoin-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
shoin-x86_64-apple-darwin.tar.xz Intel macOS checksum
shoin-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
shoin-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum