HeadlinesBriefing favicon HeadlinesBriefing.com

Rust CLI Markdown Viewer with Vim Navigation

Hacker News: Front Page •
×

A new terminal-based Markdown viewer called mdvi brings Vim-style navigation to command-line document reading. Built in Rust with the ratatui framework, the tool renders markdown files into a polished full-screen TUI with support for headings, lists, code blocks, tables, and more.

mdvi offers keyboard navigation familiar to Vim users, including hjkl movement, page up/down, and search functionality. The viewer supports live reload when files change on disk and can start at specific lines using the --line flag. Installation is straightforward through Homebrew or direct compilation from source.

This tool fills a niche for developers who prefer terminal-based workflows but want rich markdown rendering and efficient navigation. By leveraging Rust's performance and single-binary distribution model, mdvi handles large files smoothly while maintaining the speed and precision expected of modern CLI tools.