Set editor to vim instead of vi.

This avoid problems in systems where vi points to the actual old vi.