vimdiff Command Examples

Open up two or more files in vim and show the differences between them. See also: vim, vimtutor, nvim. More information: https://www.vim.org.

vimdiff {{path/to/file1}} {{path/to/file2}}

<Ctrl> + w {{h|l}}

[c

]c

do

dp

:diffupdate

za