I want to be able to read man pages in vim. For some reason, it seems that vim isn\'t able to read the output of programs through piping (i.e \'(man ls) | vi\' doesn\'t seem
Your example code is wrong.
tempo=`mktemp` man $1 > $tempo; vi $tempo
But you really only need
man $1 | vi -