git, vimdiff and dirdiff

后端 未结 4 2091
没有蜡笔的小新
没有蜡笔的小新 2020-12-14 08:17

I\'m trying to use vimdiff+dirdiff.vim to diff inside Vim multiple files versionned with Git.

For Mercurial, it is possible with mercurial extdiff extension.

4条回答
  •  既然无缘
    2020-12-14 09:10

    Tim Pope's fugitive is the quintessential git plug-in for vim. It might not have dirdiff's functionality, but it does integrate git status output beautifully, with key mappings to easily navigate between modified files. Any files listed in your git status output can then easy be diffed with the D mapping, allowing you to customise the exact changes going into your changes.

提交回复
热议问题