Repository navigation
Releases
lsmd 0.9.3
A maintenance release: a signed Windows binary, and Markdown read the way GitHub reads it in a few more corners.
Signed on Windows
lsmd.exe is now signed by its publisher, Awesome Machinery, LLC, so Windows names who made it instead of warning about an unknown publisher. Right-click it, then Properties › Digital Signatures, to see the signature.
Markdown, closer to GitHub's
lsmd now uses comrak 1.1, the Markdown parser's first stable release. Almost every document reads exactly as before. A few edge cases now follow GitHub:
- In a table,
c\\|ends the cell afterc\. ~~a~ *b*now emphasizesb, where a mismatched~used to stop it.- A footnote defined twice uses its first definition, shown with the other footnotes at the end.
[x]starts a task item only when a space or the line's end follows it.
Also
- Dependencies are up to date, including a fix to rustix (RUSTSEC-2026-0486).
- lsmd is in winget:
winget install Sanford.lsmd.
Install
On macOS and Linux:
brew upgrade sanford/tap/lsmd # or: brew install sanford/tap/lsmdOn Windows:
winget install Sanford.lsmd # or: winget upgrade Sanford.lsmd
scoop update lsmd # with ScoopOr download lsmd-windows-x64.zip below and put lsmd.exe on your PATH, or use the PowerShell command in the README.
Anywhere with a Rust toolchain: cargo install lsmd.
lsmd 0.9.2
The file list stays beside the document on any terminal 80 columns or wider.
Two panes from 80 columns
Tab from the file list kept the list beside the document only on a terminal 110 columns or wider, while the list showed its preview beside it from 80. Now both start at 80: if you can see the preview next to the list, Tab keeps the list there while you read. On a narrower terminal the document has the screen to itself, as before, and \ still shows or hides the list beside it.
Install
On macOS and Linux:
brew upgrade sanford/tap/lsmd # or: brew install sanford/tap/lsmdOn Windows, with Scoop:
scoop bucket add sanford https://github.com/sanford/scoop-bucket
scoop install sanford/lsmd # or: scoop update lsmdOr download lsmd-windows-x64.zip below and put lsmd.exe on your PATH, or use the PowerShell command in the README.
Anywhere with a Rust toolchain: cargo install lsmd.
lsmd 0.9.1
Links you can see, and a file list that keeps up with them.
Links are easier to read
The default theme drew links in the terminal's own blue, which in some terminals' default colors (iTerm2's, for one) is too dark to read on a dark background, and the highlighted link turned that same dark blue into its background. Now links are a light blue on dark terminals and a deeper blue on light ones, and the highlighted link is dark text on that light blue, or white on the deeper one. The bundled themes and Omarchy's keep their own palette's blue.
The list shows where links take you
Following a link, the file list selects the document it went to, going into its folder if it's outside the one listed, and clearing a filter that hides it. Esc back selects the document you came back to. So the list beside the document shows where you are, and Tab lands on it.
Install
On macOS and Linux:
brew upgrade sanford/tap/lsmd # or: brew install sanford/tap/lsmdOn Windows, with Scoop:
scoop bucket add sanford https://github.com/sanford/scoop-bucket
scoop install sanford/lsmd # or: scoop update lsmdOr download lsmd-windows-x64.zip below and put lsmd.exe on your PATH, or use the PowerShell command in the README.
Anywhere with a Rust toolchain: cargo install lsmd.
lsmd 0.9.0
Links you can follow as you read, without reaching for f.
The highlighted link
As you read, the link nearest a band a third of the way down the screen is highlighted, and the footer shows where it goes. Enter (or l or →) follows it, Esc (or h or ←) comes back, and c then u copies it.
The band starts at the top of the screen and ends at the bottom, so the first and last links in a document get their turn. ↓ and ↑ scroll as usual, but where links come close together, side by side or a line after another, they go from link to link first, so none is skipped. In a document that fits on the screen, they go from link to link. f or a click still gets any link at once.
Upgrading from 0.8.4
Enter in a document used to scroll down. On a highlighted link it now follows the link instead; where no link is highlighted it still scrolls. j and ↓ scroll as before.
Install
On macOS and Linux:
brew upgrade sanford/tap/lsmd # or: brew install sanford/tap/lsmdOn Windows, with Scoop:
scoop bucket add sanford https://github.com/sanford/scoop-bucket
scoop install sanford/lsmd # or: scoop update lsmdOr download lsmd-windows-x64.zip below and put lsmd.exe on your PATH, or use the PowerShell command in the README.
Anywhere with a Rust toolchain: cargo install lsmd.
lsmd 0.8.4
A small change to the layout: the file list stays beside the document on narrower terminals.
The list beside the document from 110 columns
When Tab opens a file, the file list now stays on the left beside it on a terminal 110 columns or wider, down from 130. That's the same width as lshn. On a narrower terminal the document opens on its own, and \ still brings the list back beside it.
Nothing else has changed.
Install
On macOS and Linux:
brew upgrade sanford/tap/lsmd # or: brew install sanford/tap/lsmdOn Windows, with Scoop:
scoop bucket add sanford https://github.com/sanford/scoop-bucket
scoop install sanford/lsmd # or: scoop update lsmdOr download lsmd-windows-x64.zip below and put lsmd.exe on your PATH, or use the PowerShell command in the README.
Anywhere with a Rust toolchain: cargo install lsmd.
lsmd 0.8.3
A small change to the mouse: click where you want to read.
Click a pane to give it the keyboard
In the split view, clicking the source or the rendered side now gives that side the keyboard, as Ctrl-W does, so the keys scroll the side you clicked. And from the file list, clicking the document moves you into it, as Tab does.
Clicking a link still follows it, and --no-mouse still leaves the mouse to the terminal.
Nothing else has changed.
Install
On macOS and Linux:
brew upgrade sanford/tap/lsmd # or: brew install sanford/tap/lsmdOn Windows, with Scoop:
scoop bucket add sanford https://github.com/sanford/scoop-bucket
scoop install sanford/lsmd # or: scoop update lsmdOr download lsmd-windows-x64.zip below and put lsmd.exe on your PATH, or use the PowerShell command in the README.
Anywhere with a Rust toolchain: cargo install lsmd.
lsmd 0.8.2
Pictures scroll smoothly in iTerm2.
Pictures move with the text in iTerm2
Until now, iTerm2 was sent each diagram and image again at every step of a scroll, which it can't keep up with at a key's repeat rate, so while you scrolled, pictures were drawn with much less detail, sharpening once you stopped. Newer versions of iTerm2 can draw pictures the way Kitty does: sent once, then placed with the text. lsmd now uses that when iTerm2 says it can, so pictures stay sharp and move with the text as you scroll.
Kitty and Ghostty get their pictures the same way, and as before, keep them while scrolling. An older iTerm2, without Kitty's pictures, keeps the old behavior.
Nothing else has changed.
Install
On macOS and Linux:
brew upgrade sanford/tap/lsmd # or: brew install sanford/tap/lsmdOn Windows, with Scoop:
scoop bucket add sanford https://github.com/sanford/scoop-bucket
scoop install sanford/lsmd # or: scoop update lsmdOr download lsmd-windows-x64.zip below and put lsmd.exe on your PATH, or use the PowerShell command in the README.
Anywhere with a Rust toolchain: cargo install lsmd.
lsmd 0.8.1
Fixes for diagrams and images, in terminals that can show them. If you use Kitty, please upgrade.
Pictures stay in Kitty when big headings move
In 0.8.0, scrolling a document with big headings in Kitty cleared its diagrams and images away, for good: Kitty is sent each picture only once, and the screen was being cleared to redraw the headings. Now nothing is cleared, and the pictures stay. After e (the editor) or Ctrl-Z, when the screen really has been cleared, they're sent again.
Kitty, Ghostty and WezTerm started from iTerm2
A terminal started from iTerm2, or from a shell that was, inherits iTerm2's TERM_PROGRAM and LC_TERMINAL. That made lsmd draw pictures the way iTerm2 does, which Kitty can't show, or not draw them at all. A terminal that names itself in TERM (Kitty, Ghostty, WezTerm), or sets KITTY_WINDOW_ID, is now taken at its word.
Pictures move with the text
While you scrolled fast, pictures were hidden until you stopped, in every terminal but iTerm2. Only iTerm2 falls behind redrawing them, so now only there are they drawn with less detail while moving. In Kitty, Ghostty, WezTerm and terminals with Sixel, they move with the text.
Nothing else has changed.
Install
On macOS and Linux:
brew upgrade sanford/tap/lsmd # or: brew install sanford/tap/lsmdOn Windows, with Scoop, new since 0.8.0:
scoop bucket add sanford https://github.com/sanford/scoop-bucket
scoop install sanford/lsmd # or: scoop update lsmdOr download lsmd-windows-x64.zip below and put lsmd.exe on your PATH, or use the PowerShell command in the README.
Anywhere with a Rust toolchain, from crates.io, also new: cargo install lsmd.
lsmd 0.8.0
A menu for copying, big headings in Kitty, themes of your own, and some things for the shell: suspending with Ctrl-Z, completions and a man page.
Copying: c
c opens a menu that says just what each choice will copy, before you copy it:
┌ Copy ────────────────────────────────────────────┐
│ c Code block 5 on screen: pick one next │
│ s Section "Install", 37 lines │
│ a Whole document README.md, 212 lines │
│ v Select… paragraphs, list items or … │
│ l Link here [Install](README.md#install) │
│ p Path README.md │
│ P Full path /Users/you/project/README.md │
└──────────────────────────────────────────────────┘
Its letters copy at once, so cs copies the section you're reading; ↑ ↓ and Enter, or a click, work too. Everything but a path is copied as Markdown, as it's written, so it pastes cleanly into an issue, a chat or another document.
- Code block: with more than one on screen, each gets a letter to type, as links do for
f. - Section: the one the header names after
§, with the sections under it. - Select:
jandktake in more or fewer paragraphs, list items, table rows or lines of code, andcorEntercopies them. Dragging over the text with the mouse does the same, copying when you let go. All of a list or a code block comes with its markers and fences; a few lines of one code block are just the code. - Link here: a Markdown link to the section, with the path from the folder you're browsing, for pasting into another document or telling someone (or an agent) where to look.
In the outline (o or O), c works the same, with the section and link taken from the heading you're on.
Opening a link outside lsmd, such as a web page, now asks with the same kind of menu, which can also copy the address instead.
Big headings in Kitty
In Kitty, top-level headings are drawn at twice the size. lsmd asks the terminal whether it can when it starts, so other terminals, and tmux, are unchanged. big-headings = false in the config turns it off.
Themes of your own
Put a theme in ~/.lsmd/themes/, in Omarchy's colors.toml format, as NAME.toml or as a folder NAME/ with a colors.toml in it, so an Omarchy theme's folder can be copied or linked there as it is. It's listed in T with the others, and works with --theme and theme =. One named like a built-in theme takes its place.
For the shell
Ctrl-Zsuspendslsmd, back to the shell;fgbrings it back. (Not on Windows.)- Completions and a man page:
lsmd --completions SHELLprints a completion script for bash, zsh, fish, elvish or PowerShell, andlsmd --manprints the man page. Homebrew now installs both, soman lsmdand completing options work after upgrading. lsmd --edit-configopens the config file in your editor. If there isn't one, it starts one listing every setting, commented out at its default. After you save, it tells you if anything in it can't be read.--config FILEreads settings from another file instead of~/.lsmd/config.toml, for trying settings out or for testing. The themeTsaves and--edit-configuse it too.
Upgrading from 0.7.1
yandYare gone.cccopies a code block (asydid), andcPcopies the file's full path (asYdid).cpcopies it relative to the folder you're browsing.- Opening a link outside
lsmd: pressoorEnterto open it, rather thany.
Nothing else has changed that scripts would notice.
Install
On macOS and Linux:
brew upgrade sanford/tap/lsmd # or: brew install sanford/tap/lsmdOn Windows, download lsmd-windows-x64.zip below and put lsmd.exe on your PATH, or use the PowerShell command in the README.
lsmd 0.7.1
A fix for pictures, in terminals that can show them. If you read Markdown you didn't write, such as other people's READMEs, please upgrade.
Only image files are read
An image in a document can point anywhere on disk. In 0.6.0 and 0.7.0, one that pointed at a device such as /dev/zero made lsmd read it until it ran out of memory. One that pointed at a named pipe stopped pictures working until lsmd was restarted: that diagram or image and every one after it stayed as text. Now only ordinary files are read, and never more than 16 MB of one; anything else shows as the image's description, as a missing file does.
This only affected terminals that show pictures (iTerm2, Kitty, WezTerm, Ghostty and those with Sixel), and only with images on, which is the default.
Nothing else has changed.
Install
On macOS and Linux:
brew upgrade sanford/tap/lsmd # or: brew install sanford/tap/lsmdOn Windows, download lsmd-windows-x64.zip below and put lsmd.exe on your PATH, or use the PowerShell command in the README.