Add command to capture ex output in buffer