Set LC_ALL=C before starting vim, otherwise the diff view for diffing files won't open.
Is there any easy way to set up this vim script to run with a config file or in a script so I can easily compare dir1 vs dir2, and dir3 vs dir4, dir5 vs dir6 without having to type all of them every time. ie I have to make modifications to config files across a system on a dev system, and I want to take those changes to qual and recompare them but they are not just in 1 directory with a single root they are like 6 directories I need to compare, frequently.
#!/bin/sh [ ! -d "$1" ] && exit 1 [ ! -d "$2" ] && exit 2 LANG=C vimdiff -c "DirDiff \"$1\" \"$2\""