Sunday, August 5, 2012

Re: Searching for a specific kind of difference with vimdiff

Hi mcc,

I assume you use vim in diffmode, don't you?

Please have a look to the ']c' command.

I guess jumping to the next difference is what you want.
Or do you want to jump only to the "blue" changes (which does mean new
package)? If so I would prefer some other way like 'diff file1 file2 | grep
"^+ "'...

Regards,
doak

------- Original message -------
> From: <meino.cramer@gmx.de>
> To: vim_use@googlegroups.com
> Sent: '12-08-05, 10:49
>
> Hi,
>
> I am using vim on Gentoo Linux, which package manager allows to dump
> all available packages description into a textfile. This is what I am
> doing from time to time.
> When comparing the current and previous package lists, I am interested
> in the differences, which are highlighted blue...which does not say
> anyhting ;)
> ...these are the differences, where the current list has included a
> new package, which does not appear in the previous list.
> The lists themselves are very log beasts (~90000 lines), so scrolling
> to look for the next "blue" is somehow tedious and error prone.
>
> Is there a way to search or directly jump to the next difference of
> this kind in the current list?
>
> Thank you very much in advance for any help!
> Have a nice sunday!
> Best regards,
> mcc
>
>
>

--
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

No comments: