Change to use HOME var.
Change edit mode to vi.