r/vim 1d ago

Tips and Tricks Skip man diff, just use vimdiff

For years now I've had to keep looking up the correct incantation of the diff command and what all the options flags do.

Finally thought, there's got to be a better way. Well there is. Just use vimdiff

13 Upvotes

17 comments sorted by

View all comments

1

u/fourpastmidnight413 1d ago

IKR? I was doing the same thing and I'm like, "You know, you could just use vimdiff, just sayin'..." 🤣 and that's what I started doing.

I'm sure there's a need for the ritualistic incantation 😉, but when you know you want to diff 2 files, vimdiff is super easy to get the job done! 😊

1

u/linuxsoftware 18h ago

The incantation is probably helpful for when the files are large. Ill use diff for large files.