Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm looking for a Linux based diff viewer/editor for Perforce, which would allow me to retain my VIM editing shortcuts, at the same time having the navigational advantages of a diff editor (goto next/previous edit, view old and new side by side). I have a very good Windows diff viewer(BC3), so please don't suggest anything for Windows.

If that editor doesn't require X server (i.e it can be used from cmd line in a putty session), that would be ideal !!

share|improve this question
If you don't know whether one exists or not the use of "best" in the title is misleading at best(!), and opens the question up to arguments. – ChrisF Mar 10 '11 at 10:23
I'd prefer a question for good alternatives. Very likely none will be the best in all respects, and a list of good diff editors with some reasons why they're good would be useful. – David Thornley Mar 10 '11 at 15:58
What's wrong with p4v? – Jeff Mar 10 '11 at 19:24

closed as off topic by Mark Trapp Jan 21 '12 at 21:39

Questions on Programmers Stack Exchange are expected to relate to software development within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

5 Answers

up vote 9 down vote accepted

You are using VIM from what I understand, so why not use vimdiff?

http://vim.1045645.n5.nabble.com/Vimdiff-question-td1143341.html

Other solution would be to use kdiff http://kdiff3.sourceforge.net/

Don't forget to check out some scripts to use Perforce with VIM. To find them go to vim website.

share|improve this answer
Yes, vim is nice for viewing diffs. :help diff-mode – codeape Mar 10 '11 at 11:55

Whether you know emacs (if not it is the moment to learn it!). it has a good diff-mode.

emacs nox diff

share|improve this answer

BeyondCompare is far and away the best, easiest to use Diff/Merge tool I've ever used, and they have a Linux version available. You ought to check it out.

share|improve this answer

i like Kompare, KDE's diff tool.

KDiff is also very good, and it supports 3-way, but i find it too bloated for casual use.

share|improve this answer

Emacs ediff is unsurpassed for comparing files and reconciling differences. It's a bit different from the diff-mode because it shows the differences between two files through background coloring, instead of presenting the diff output. One-character commands will copy a change from one file to another.

share|improve this answer

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