hence vimdiff a file comparsion tool targeted towards the cli environment. I'm wondering if it offers functionality to swap line of codes between two tabs?
1 Answer
Sure. Make a split (:split), make sure your two things are in the two different visible buffers, and run :windo diffthis.
You can still edit the buffers as normal, so, copying and pasting between them as usual, but when you do changes, you might need to :diffupdate. To close the diff view, :diffoff.