Hi,
I use Vim 7.4 on Windows 7.
I have got file1:
one
two
three
four
and file2:
two
tree
four
five
Now I start vim and create a diff of this two files with the following commands:
:e file1
:vert diffsp file2
Diffs are displayed like:
a) Text line from one file not available in second file is colored blue.
b) Text line that is similar between files is colored pink.
c) Text line that is exactly the same is with no background color.
Is there some command to display only "blue" and "pink" lines without "no background color"?
Above sample is very simple. I work with files with 5000 lines and only a few of the lines are different. It would really help me to display only lines that are different (missing lines = blue colored and differing lines = pink color) and without all of the lines that are exactly the same.
How to do this in vim?
Thanks
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment