vi: collect ex command output before printing