set EDITOR variable to vi