Repository navigation
Release Notes
Editing
:42goes to line 42 and:$to the last line. Like42G, it opens a
fold it lands in and puts the line on top in read-only mode (#176).G,gg,42G,:42,H,MandLkeep the cursor's column, as
jandkdo, and so doddand>>/<<: 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,yggandVkykeep the column,guuand
gUUland on the first non-blank,VguandVUat the line's start.
Undo and redo of a case change come back to the same place, and2gUU
on the last line does nothing (#180). guandgUwork in Visual mode (#180)./and?search with Vim patterns, as Neovim:\<word\>,\(a\|b\),
\{n,m},\v,\c,\zs/\ze,\nacross lines (#185).
Back-references inside a pattern and look-arounds give an error.:s/pattern/replacement/flagswith ranges (:%s,:'<,'>s), the
flagsg c i I n e &,&,\1,~,\u \U \l \L,\rin the
replacement, and the repeats:s,:&&,&andg&, as Neovim. One
uundoes 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~~and2Yon the last
line change nothing, as Neovim (#186).f,t,F,Tfind a tab withTab.rthenTabreplaces with a
tab (spaces to the next stop withexpand_tab),rthenEntersplits
the line.rcounts 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, andj/konto a shorter line reach the line
break, as Neovim, sov$dandv$ptake it too, and a selected line
break is drawn (#187). d$,y$andc$on a line's last character act on it (#187).- Insert
Tabwithexpand_tabtypes spaces to the next tab stop, and
Backspacein a line's indent goes back to the stop before, as
Neovim's defaultsmarttab(#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,AEnter,cc,p,
:t $), stays a line, also after:w, and a save writes what Neovim
writes with and withoutfixeol. Typing into an empty file gives its
line a newline (#193). - The indent
Enterorcclays down is kept once anything is typed and
goes again onEsc,Ctrl-c, anotherEnteror a move to another
line, as Neovim'sautoindent. InsertCtrl-csteps back asEsc
does, and InsertRightandDeletestop at the end of the last line
(#193). c$,C,cl,ch,c0,c^andciwon an empty line, or where
h,0,^cannot move, enter Insert, as Neovim;2Cand2Dact
asc2$andd2$(#193).- Insert
Endkeeps to the end of each lineUpandDownreach, as
$does (#193). - An edit that changes nothing (
gUUon capitals,~on a digit,xon
an empty line) is an undo step that leaves the file unmodified, as
Neovim;uandCtrl-rbring the cursor back to it.>>on an empty
line marks the file modified (#193).
Math
\mathbb,\mathcal,\mathscrand\mathfrakdraw 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,
whenpandocis installed. Without it, formulas stay TeX and the export
saysmath 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_widthcells from the start
of the line, as Neovim'stabstop, instead of being a fixed
tab_widthcells 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 fulluses 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 fulluse the whole measure when
transclude.borderis on (#184). - A search match or
:s///cmatch 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 withmermaid_rendererunder[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:smatch 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,--renderand
expanded embeds, andmermaid_graphics = truedraws 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_rendereris 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.jkmove a screen row, as inless, andCtrl-fCtrl-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 orEsc
(#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). :wand:saveasto a hard link or symlink of the file being edited
treat it as that file (#185).- On 16- and 256-color terminals, selections,
:s///cmatches 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\rwith no final newline, one CRLF line among LF ones) is part
of the line, as Neovim:Atypes after it, and:diffkeeps 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 --renderno longer prints the hint bar under the page (#188).--exportprints config warnings on stderr (#188).:export htmland:export pdfrun 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).--outwrites 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 | shInstall prebuilt binaries via Homebrew
brew install nol00p/tap/shoinDownload 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 |