In a particular perl script and I have a copy of the same but with the changes made in it i want to see both the scripts in such a way that changes made in the copy to be highlighted in a split gvim editor,so that I can compare both simultaneously.What should i do for that?. I know to split gvim but I don.t know how to compare


I think the tool you may be looking for is vimdiff

vimdiff file.copy file.original
  • 1
    or gvimdiff if OP prefers gvim over vim – Sundeep Jul 15 '16 at 10:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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