inject git editor config into ask_editor method