changed EDITOR to mate