Sometimes it is useful to compare two pairs of files simultaneously. As diff are local to the current tab page it is not possible to display all in a single a tab. Thus a mapping (such as <s-cr>) could be used to display the diff on a new page.
But the mappings on those windows should be adapted, e.g., q would close only that tabpage and <leader>j would close the tab and display the next comparison on the original window.
Another option is to duplicate the review window as well, allowing for multiple tab pages for the same code review -- this would require creating the scratch buffers with "old file (n)" to avoid E95.
Sometimes it is useful to compare two pairs of files simultaneously. As diff are local to the current tab page it is not possible to display all in a single a tab. Thus a mapping (such as
<s-cr>
) could be used to display the diff on a new page.But the mappings on those windows should be adapted, e.g.,
q
would close only that tabpage and<leader>j
would close the tab and display the next comparison on the original window.Another option is to duplicate the review window as well, allowing for multiple tab pages for the same code review -- this would require creating the scratch buffers with "old file (n)" to avoid E95.