switch editor config into yml file