cd ~/.vim
Download dirdiff
wget https://github.com/will133/vim-dirdiff/archive/master.zip
unzip master.zip
$vim .
Doing the following will generate a diff window.
:DirDiff <A:Src Directory> <B:Src Directory>
e.g.
:DirDiff ../something/dir1 /usr/bin/somethingelse/dir2
]c : next diff
The following comamnds can be used in the Vim diff mode
\dg - Diff get: maps to :diffget<CR>
\dp - Diff put: maps to :diffput<CR>
\dj - Diff next: (think j for down)
\dk - Diff previous: (think k for up)
link:
http://www.vim.org/scripts/script.php?script_id=102