mMontu / vim-vvcs

Vim VCS: Wrapper for development enviroments on remote machines
0 stars 0 forks source link

Diff on a new tab for VcListCheckedout/VcCodeReview #20

Open mMontu opened 10 years ago

mMontu commented 10 years ago

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.