Friday, October 7, 2011

Turn off anti-alias for Sublime Text 2

This was hard for me to find, so maybe this will help out some other people.

I'm really liking the Sublime Text 2 editor, nice support for vi(m) commands, and very flexible configuration for code highlighting, project management, search and replace...all then things a programmer needs and none of the extra stuff that just gets in the way.

Anyway, I found the anti-aliased text to be blurry and it took me a long time to figure out how to disable it. Here it is:

Go to Preferences -> file settings - User and do some thing like this:

{
    "color_scheme": "Packages/Color Scheme - Default/RubyRobot.tmTheme",
    "font_face": "Monaco",
    "font_options":
    [
        "no_antialias"
    ],
    "font_size": 10,
    "vintage_start_in_command_mode": true
}

Enjoy!