[hg] add editor