Add vim plugin; make script idempotent