Monday, June 18, 2012

vimdiff: displaying the total number of changes

Hi everyone,

When diffing two files, I have been wondering if is it possible to display the total number of differences between the files (i.e. the number of ]c motions required to get to the end).

Ideally I would like a statusline (or simply an echoed message) that says something like "This is difference N of M".

I have been vimscripting for quite a few years now, but I have no idea how to do this, so any advice will be gratefully received!

Thanks in advance,
Jonathan.

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