save before switch to vim from HG