Need help with vim-dirdiff?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

will133
227 Stars 40 Forks 46 Commits 4 Opened issues

Description

Vim plugin to diff two directories

Services available

!
?

Need anything else?

Contributors list

vim-dirdiff

DirDiff plugin for Vim

If you like Vim's diff mode, you would love to do this recursively on two directories!

DirDiff Session

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  

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 [email protected] -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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.