January 3, 2011

How to pipe STDOUT to vim

I usually use ColorDiff when I want to get a colorized diff from the command line.

mike@shiner $ cvs diff -up | colordiff

I was talking with a friend about vim and he showed me how to utilize vim for a similar purpose.

mike@shiner $ cvs diff -up | vim -

This is great because it gives you the same syntax highlighting benefits, but you don't have to install another application.

4 comments:

  1. svn diff | vim -
    works even better :)

    ReplyDelete
  2. Assuming you have followed all 5 steps and any extra constraints from the vendor, want to} have an excellent clear mesh in a format acceptable for 3D printing. Before you resolve which one to go along with, it is a good suggestion to poke round every of the distributors' web sites. Get a feel for the client base they're focusing on and look into which 3D printing expertise they use. This may have bearing on where you resolve to have RING CAMERA your model printed. If you're vigilant during the modeling process, this step should be a non-issue.

    ReplyDelete