added export to set EDITOR to vi