Awesome
vim-dirdiff
DirDiff plugin for Vim
If you like Vim's diff mode, you would love to do this recursively on two directories!
Installation
With pathogen.vim:
cd ~/.vim/bundle
git clone git://github.com/will133/vim-dirdiff
With vim-plug, in your ~/.vimrc:
Plug 'will133/vim-dirdiff'
With Vim 8+'s default packaging system:
mkdir -p ~/.vim/pack/bundle/start
cd ~/.vim/pack/bundle/start
git clone git://github.com/will133/vim-dirdiff
Usage
:DirDiff <dir1> <dir2>
To open DirDiff from the command line, run vim -c "DirDiff dir1 dir2"
or add the following function to your shell init file:
function dirdiff()
{
# Shell-escape each path:
DIR1=$(printf '%q' "$1"); shift
DIR2=$(printf '%q' "$1"); shift
vim $@ -c "DirDiff $DIR1 $DIR2"
}
If you use pathogen, you can use :Helptags to regenerate documentation. You then can see ":h dirdiff" for more information.
License
Copyright (c) 2001-2015 William Lee. (BSD-Like) See doc/dirdiff.txt.