hx6vda
Last Updated: February 25, 2016
·
1.285K
· apeschel
E7a5c7c4ee1625926b9355d1a0d8296a

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" } 
Say Thanks
Respond

1 Response
Add your response

2862
Photo on 08.01.2013 at 04.15

It doesn't on Mac OS

over 1 year ago ·
Filed Under

Awesome Job

E20ce6a2 ca1f 11e7 82be 7f617c8310c9
SENIOR DEVELOPER (m/w)
·
Berlin, Köln, Hamburg, München
·
Full Time