From: Fernando Ramos Date: Sun, 07 Aug 2022 14:46:25 GMT Subject: Re: [PATCH v2 2/9] mergetools: vimdiff: shuffle single window case Message-ID: In-Reply-To: <20220807024941.222018-3-felipe.contreras@gmail.com> On 22/08/06 09:49PM, Felipe Contreras wrote: > > + # A single window is handled specially > + > + if ! echo "$LAYOUT" | grep ",\|/" >/dev/null > + then > + CMD=$(gen_cmd_aux "$LAYOUT") > + FINAL_CMD="-c \"$CMD | bufdo diffthis\" -c \"tabfirst\"" > + return > + fi If you make this change, it fixes the first issue I was referring to in [1] - if ! echo "$LAYOUT" | grep ",\|/" >/dev/null + if ! echo "$LAYOUT" | grep ",\|/\|\+" >/dev/null [1] https://lore.kernel.org/git/Yu9vvAKJzOpoQ5AS@zacax395.localdomain/