#!/bin/sh
for f in $(find . -type f -name "*.rej")
do
vimdiff -c':set noscb' -c':set nocursorbind' $f ${f%.*}
done