I'm using vimdiff to see the difference between two files. I'm wondering if it is possible to copy a line from the left tab (the first file) and paste it in the second tab (the second file). Actually, I can't even seem to be able to access the second tab.
Thank you!
As mentioned in comments, you can use dp
or do
to move the diff the cursor is on between the buffers.
You can also use the commands :[range]diffget
and :[range]diffput
, meaning if you've already reviewed all differences in the whole file, you can do :1,$diffput
or :1,$diffget
to move all diffs from or to, respectively, the current buffer.