Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Mnpgr: Use Vim for reading man pages (kylheku.com)
3 points by kazinator on Oct 14, 2023 | hide | past | favorite
Mnpgr is a small Lisp program that acts as an intermediary between man and Vim.

The main benefit is that your reading position in any given man page is retained.

Unlike other Vim-based schemes, mnpgr renders the backspace-based overstrikes generated by man into a markup notation for bold and italics. That is then loaded into Vim, with the help of a small custom syntax definition. Thus the syntax coloring is accurate, and the colorized text is searchable (it's not simply a highlighting/concealing scheme for backspace overstrikes).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: