Improve editor setting on OS X.