Codemirror customization