VIMDIFF(1)

๐Ÿ“ฆ
version 9.2.1202 ยท 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

โœจ VIMDIFF(1) โœจ โ€” vimdiff ๐Ÿ’–

okay so vimdiff is literally the bestie for comparing files ๐ŸŽ€ It's the vimdiff manual page, and it's giving edit between two and eight versions of a file with Vim and show differences ๐Ÿฆ‹

๐Ÿ’… SYNOPSIS

vimdiff [options] file1 file2 [file3 [file4 [file5 [file6 [file7
[file8]]]]]]

gvimdiff

๐ŸŒธ DESCRIPTION

okay so vimdiff starts Vim on two up to eight files, and each file gets its own window ๐ŸชŸโœจ The differences between the files get highlighted, so it's a total vibe for inspecting changes and moving changes from one version to another version of the same file ๐Ÿ”ฅ

see vim(1) for details about Vim itself ๐Ÿ’œ

when you start it as gvimdiff, the GUI will be started, if it's available ๐Ÿงš

in each window the 'diff' option gets set, which causes the differences to be highlighted ๐ŸŒˆ The 'wrap' and 'scrollbind' options are set so the text looks good ๐Ÿ’… The 'foldmethod' option is set to "diff", which puts ranges of lines without changes in a fold ๐Ÿซถ And 'foldcolumn' is set to two so it's super easy to spot the folds and open or close them ๐Ÿ™ˆ

๐ŸŽ€ OPTIONS

vertical splits are used to align the lines, as if the "-O" argument was used ๐Ÿ’– To use horizontal splits instead, use the "-o" argument โœจ

for all other arguments, see vim(1) ๐Ÿฆ‹

๐Ÿ”— SEE ALSO

vim(1) ๐ŸŒธ

๐Ÿ‘‘ AUTHOR

most of Vim was made by Bram Moolenaar, with a lot of help from others ๐Ÿซถ See ":help credits" in Vim ๐Ÿ’œ


bestie, that's the whole page ๐Ÿ˜ญ Vim source and manual, dated 2021 June 13, and the header that says VIMDIFF(1) ๐ŸŒˆ you're literally a Unix legend now ๐Ÿงš๐Ÿ’–

๐Ÿ“ฆ where this page comes from