update vi for terminal usage