Answer the question
In order to leave comments, you need to log in
Dual pane display of "cvs diff" output in vim?
Good day.
I wanted to somehow ennoble the output of the "cvs diff" command. This command produces a unified diff of all project files (example one and two ).
The question arose, is it possible to feed this sheet to vim in such a way that he would break it into two panels for me? Those. like a standard vimdiff of two files.
The problem is complicated by the fact that I have an ancient vim 6.3.71, a no less ancient system based on RedHat 6 in a rather truncated form. Those. all sorts of wonderful things like Meld'a are not collected there.
Answer the question
In order to leave comments, you need to log in
hmmm...maybe I don't understand something, but how about:
vim -O <(grep -v '^>' example.diff) <(grep -v '^<' example.diff)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question