Set EDITOR and VISUAL in .xsession.