set EDITOR variable