Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm a big fan of meld - a visual diff and merge tool for Gnome. It shows two files (or directories) side by side with their differences highlighted and I can easily select which parts I want to move from one file to the other.

I'm looking for a similar tool but it should work on the (linux) console, eg. do not require any X server. Maybe using a ncurses interface.

Is there such tool?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Ah just found out about vimdiff. It pretty much does what I was looking for. here's a quick guide

share|improve this answer
    
@How to merge/copy changes from on file to another using vimdiff or vim -d –  goldenmean Nov 16 '10 at 15:12
add comment

You can use vim -d file1 file2 for that.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.