Read Man Pages in (n)vim
Reading man pages in (n)vim is my new favorite way to read man pages. (n)vim gives you syntax highlighting, plus you can follow the links with Shift + K
(yes, there are links between man pages - I never knew!).
You can override the default pager for man
by setting the MANPAGER
environment variable (the default is less -sR
) - per the nvim help page, you can use nvim with export MANPAGER='nvim +Man!'
.
Happy manual reading!
h/t Josh Branchaud, the TIL GOAT.
Tweet