Read Manpages With Less, Bat, Vim or Neovim
<iframe id="lbry-iframe" width="560" height="315" src="https://lbry.tv/$/embed/read-manpages-with-less-bat-vim-or/b1882210278f39652ac60dec6f1fe939c5f29d3d?r=6APe7PNDEiNYw1cHdCJzgE1qGDJxSVnJ" allowfullscreen></iframe>
@derek Why HTML
@derek I just assume there's a '-h' or '--help' for it; After that, my levels of annoyed gets increased.
It seems the iframe is not displayed correctly on mastodon, though. But the vanilla link should work anyway, I guess. I just try it here.
@derek I sometimes like to turn a man page into a pdf with ghostscript.
Here's the function.
pdfify() # convert man pages to pdf and open the pdf file
man -t $1 | ps2pdf - $1.pdf && setsid xdg-open $1.pdf &> /dev/null
@derek read info pages with less. vim keys are eternal.
Do the 'iframe' tags do anything on Mastodon?
@derek I'm going to have to find your video on Neovim then cause I've never used it and have no idea why it's better than vim.
A mastodon instance created by Derek Taylor, creator of the DistroTube channels on YouTube and LBRY. Derek is an advocate for free and open source software.