Reading Manpages with Vim
Vim comes packaged with a plugin that works well for reading manpages. It provides nice syntax highlighting and the ability to navigate through pages. If the cursor is over a link, use ctrl-]
to go to that man page, and ctrl-t
to go to the previous page.
You can add the following to your bashrc or zshrc to use Vim as a replacement for the man program.
# Read man pages with vim
man () { vim -c "Man $*" -c "only" }
Written by Aaron Peschel
Related protips
1 Response
It doesn't on Mac OS
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#