Read manpages with Vim
Include this in your .bash_profile
export MANPAGER="col -b | vim -c 'set ft=man ts=8 colorcolumn=0 nomod nolist nonu noma' -"
Now, when you open up any manpage (e.g. man grep
), it'll open up in vim with syntax highlighting!
Written by Anthony Sutardja
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#