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
268 Stars 49 Forks 49 Commits 10 Opened issues

Description

Vim plugin to diff two directories

Services available

!
?

Need anything else?

Contributors list

# 721,947
18 commits
# 737,197
Shell
C
2 commits
# 623,753
TypeScr...
JavaScr...
Kuberne...
kubectl
2 commits
# 785,660
1 commit
# 216,516
Python
Neovim
denite
HTML
1 commit
# 710,568
1 commit
# 279,471
PHP
Vim
ssh
symfony...
1 commit
# 1,410
C
Neovim
nvim
viml
1 commit
# 436,657
Scala
Apache ...
C
Shell
1 commit
# 580,835
Go
1 commit

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.