VIMDIFF(1)
โจ 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
- arch rolling: gvim 9.2.1178-1 ยท custom:vim
- debian trixie: vim-gui-common 2:9.1.1230-2 ยท Vim
- debian trixie: vim-gui-common 2:9.1.1230-2+deb13u1 ยท Vim
- fedora 43: vim-common 2:9.1.1818-1.fc43 ยท Vim AND LGPL-2.1-or-later AND MIT AND GPL-1.0-only AND (GPL-2.0-only OR Vim) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND OPUBL-1.0 AND Apache-2.0 WITH Swift-exception
- fedora 43: vim-common 2:9.2.1129-1.fc43
- fedora 43: vim-common 2:9.2.1202-1.fc43 ยท Vim AND LGPL-2.1-or-later AND MIT AND GPL-1.0-only AND (GPL-2.0-only OR Vim) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND OPUBL-1.0 AND Apache-2.0 WITH Swift-exception
- fedora 44: vim-common 2:9.2.1129-1.fc44
- fedora 44: vim-common 2:9.2.1202-1.fc44 ยท Vim AND LGPL-2.1-or-later AND MIT AND GPL-1.0-only AND (GPL-2.0-only OR Vim) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND OPUBL-1.0 AND Apache-2.0 WITH Swift-exception
- fedora 44: vim-common 2:9.2.240-1.fc44 ยท Vim AND LGPL-2.1-or-later AND MIT AND GPL-1.0-only AND (GPL-2.0-only OR Vim) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND OPUBL-1.0 AND Apache-2.0 WITH Swift-exception
- opensuse-leap 16.0: vim 9.2.0957-160000.1.1 ยท Vim
- opensuse-leap 16.0: vim 9.2.0957-160000.1.1 ยท Vim
- opensuse-leap 16.0: vim 9.2.0957-160000.1.1 ยท Vim
- opensuse-leap 16.0: vim 9.2.0957-160000.1.1 ยท Vim
- ubuntu questing: vim-gui-common 2:9.1.0967-1ubuntu6
- ubuntu questing: vim-gui-common 2:9.1.0967-1ubuntu6.8
- ubuntu resolute: vim-gui-common 2:9.1.2141-1ubuntu4 ยท Vim
- ubuntu resolute: vim-gui-common 2:9.1.2141-1ubuntu4.9 ยท Vim
- ubuntu stonking: vim-gui-common 2:9.2.0858-1ubuntu2 ยท Vim
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms