diffchar.vim icon indicating copy to clipboard operation
diffchar.vim copied to clipboard

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

Open spidey opened this issue 5 years ago • 3 comments

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.

spidey avatar Feb 21 '19 14:02 spidey

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?

rickhowe avatar Feb 24 '19 11:02 rickhowe

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

spidey avatar Mar 07 '19 13:03 spidey

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

spidey avatar Mar 07 '19 14:03 spidey