Friday, January 22, 2016

Re: Vimdiff with multiple buffers

Simon Ruderich wrote:
> I'd really like to get better support for changes inside a line
> in Vimdiff. At the moment Vimdiff doesn't create minimal changes
> in this case. I recall there was a plugin which helped with that,
> but I forgot its name. Anybody has an idea?

diffchar gave excellent results when I used it at first:
http://www.vim.org/scripts/script.php?script_id=4932

However, after making a couple of minor edits and using :diffupdate the diffs were wrong. I forget exactly what the problem was, but I disabled the plugin when I missed seeing diffs that were not highlighted.

Fixing differences-within-a-line is badly needed, but a proper fix requires also fixing the problem that Vim cannot scroll very long lines. Diffs in a line are most needed when lines are very long (as in a paragraph of text), but such a line can only be displayed from its physical start and that prevents seeing diffs near the end of the long physical line.

I'm hoping someone will take up the suggestions mentioned in the following, and at the thread it links to:
http://vim.wikia.com/wiki/Vim_contribution_Ideas

John

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

No comments:

Post a Comment