rickhowe / diffchar.vim

Highlight the exact differences, based on characters and words
http://www.vim.org/scripts/script.php?script_id=4932
MIT License
216 stars 10 forks source link

Feature Request: echo both lines, so long wrapped lines can be viewed on the status line #15

Open spidey opened 5 years ago

spidey commented 5 years ago

While :EDChar is already awesome, I miss a feature from Beyond Compare on vimdiff that is being able to see and change the current line on an extra window containing only the current line from left and right files.

:EDChar comes close to simulating it, albeit without the editing part. But sometimes having both lines instead of a single marked-up diff line is better.

rickhowe commented 5 years ago

I just followed MS Word as for a line comparison format. Yes, it is sometimes too long and wrapped around. Do you have any specific idea to make it better?

spidey commented 5 years ago

I was thinking of an editable single line view for both files, like Beyond Compare's. For example: Beyond Compare file diff

spidey commented 5 years ago

If Vim supported multiple diffs (configuring pair of windows) in the same tab, and also multiple scroll bind configurations, that would be perfect. Imagine this setup:

___________________
| File A | File B |
| File A | File B |
|-----------------|
| A current line  |
| B current line  |
|-----------------|