Add editor config to hgrc.