defining editor config