Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
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\""