From: Felipe Contreras Date: Sun, 07 Aug 2022 22:27:37 GMT Subject: Re: [PATCH v2 0/9] mergetools: vimdiff: regression fix and reorg Message-ID: In-Reply-To: On Sun, Aug 7, 2022 at 1:39 PM Fernando Ramos wrote: > On 22/08/07 10:39AM, Felipe Contreras wrote: > > To me if I configure "BASE,MERGED" and I close the first window, I > > should end up with the same view as "MERGED", but I don't, which is > > why I fundamentally don't like this layout approach. > > This won't work. Not even after the fix. If you want to modify the layout (ex: > by closing a window) vim won't automatically update the list of buffers to > consider for the diff. Of course it works: vim -d -c 'set hidden diffopt=internal' BASE MERGED Close the first window and the diff colors remain. vim doesn't need to update the list of buffers. -- Felipe Contreras