Sublime Blog

Sublime Text 2 FAQ

There's been a fantastic response to the Sublime Text 2 alpha. A few questions have come up several times; answers are below.

How do I change the font?
Add these lines to Preferences/User File Preferences:

	"font_face": "Courier New",
	"font_size": 10

and then change as desired. The font will change when you save.

How do I open a directory as a project?
Drag the directory onto the sidebar, and it'll be added to the project. You'll then be able to browse using the sidebar, and search using Ctrl+P (Command+P on OS X)

How do I open files using the command line on OS X?
A command line tool will be coming in the future for OS X, in the mean time you can use this method, although you'll have to replace references to Sublime Text X with Sublime Text 2.

How do I reset Sublime Text 2 to a fresh state?
You'll need to exit Sublime Text 2, and then delete the data directory, which can be found at:

  • Windows: %APPDATA%/Sublime Text 2
  • OS X: ~/Library/Application Support/Sublime Text 2
  • Linux: ~/.Sublime Text 2

I'm having trouble running Sublime Text 2 on Linux
Ubuntu is the only supported distribution at the moment. I'm working to expand this as soon as possible.

Jon Skinner