Problems with man and less/more
Tom Evans
TEvans at mintel.com
Wed Nov 15 04:52:48 PST 2006
Not strictly on-topic, but I have become accustomed to reading my man
pages in vim, beautifully colourised.
This my alias/function for bash, rewrite according to taste:
vman()
{
/usr/bin/man -w "$@" >/dev/null && /usr/bin/man "$@" | /usr/bin/col
-b | /usr/local/bin/vim -c 'set ft=man nomod nolist noma' -
}
alias man='vman'
It is a bit wasteful, but it sure is purty.
Cheers
Tom
More information about the freebsd-stable
mailing list