0

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 1

1

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.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.