Christian Brabandt schrieb: > On Thu, October 8, 2009 3:34 pm, Harald Vajkonny wrote: > >> Christian Brabandt schrieb: >> >>> On Thu, October 8, 2009 2:36 pm, Harald Vajkonny wrote: >>> >>> >>>> Is there any way to display wrapped lines with their beginnings always >>>> at the same horizontal position, like this: >>>> >>>> 4 xxx xxx xxx xxx | 4 xxx xxx xxx xxx >>>> xxx xxx xxx xxx | xxx xxx xxx xxx >>>> xxx xxx xxx xxx | xxx xxx xxx xxx >>>> xxx xxx xxx xxx | >>>> 5 xxx xxx xxx xxx | 5 xxx xxx xxx xxx >>>> xxx xxx xxx xxx | xxx xxx xxx xxx >>>> >>>> >>> Try diff-mode: >>> :windo :diffthis >>> >>> >> No, this doesn't help at all, not only because diff turns off line >> wrapping (which I need heavily), but also because my files A and B >> > > You could turn it back on, right? > But then I am back to where I started: wrapped lines are not in sync. >> differ totally: A is an original text and B is its translation into a >> different language. When I turn on diff mode, everything is marked red, >> because there is nothing in common. >> > > :hi! DiffAdd link None > :hi! DiffChange link None > :hi! DiffDelete link None > :hi! DiffText link None > Something is wrong with the syntax, but I guess these only remove the color.
No, diff adds no fuctionality over :set number :set scrollbind :set wrap :syncbind for both windows. With this everything is fine except for the missing line sync. >> What I would need is nothing else than horizontal alignment of long >> lines at their beginnings. >> > > I don't know if it is possible to align paragraphs. Guess what: THAT is exactly why I asked this question... > May be folding all paragraphs away? > Then I don't see the text, do I? Or how did you mean it? I want to sync wrapped long lines, not paragraphs, i.e. there are no newline characters, except at the end of each line! harald -- "Wouldn't the sentence 'I want to put a hyphen between the words Fish and And and And and Chips in my Fish-And-Chips sign' have been clearer if quotation marks had been placed before Fish, and between Fish and and, and and and And, and And and and, and and and And, and And and and, and and and Chips, as well as after Chips?" --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
