added a function for piping output into vim