Closed vortexnix closed 4 years ago
I use zsh and do something like this in my .zshrc file:
vimDirDiff() { echo "Please wait while vim diffs the directories" args=$@ vim -f "+execute \"DirDiff $args\" echo "vimDirDiff Done" }
vim -c "DirDiff $1 $2"
That -c command should work.
This may be a dumb question but I am trying to setup vim-dirdiff as my git difftool. For that, I need to run dirdiff from the command line directly. Also, it would be nice if I can do a vimdiff of directories directly from command line. Thanks.