Loading ...
Sorry, an error occurred while loading the content.

Re: starting a second vim session in diff mode from out first vim

Expand Messages
  • A.J.Mechelynck
    ... Editing the same file(s) in more than one gvim sessions in parallel is bound to run into pitfalls of ever kind; but you can change any numbers of files
    Message 1 of 2 , May 31, 2007
    • 0 Attachment
      Eric Leenman wrote:
      > Hi,
      >
      > Is it possible from a first gvim session to init a second gvim session
      > in diff mode?
      > And this diff mode should then use the two files that are used in the
      > first gvim session?
      >
      > So if A.TXT and B.TXT are used in the first, the second should show
      > the difference in the second gvim session?
      >
      > Rgds,
      > Eric
      >

      Editing the same file(s) in more than one gvim sessions in parallel is bound
      to run into pitfalls of ever kind; but you can change any numbers of files
      already open in Vim by using ":diffthis" in each window concerned; e.g., to
      diff all files currently visible in split windows:

      :windo diffthis



      Best regards,
      Tony.
      --
      Today is the first day of the rest of the mess
    Your message has been successfully submitted and would be delivered to recipients shortly.