Using Sublime Text with LilyPond on Mac OS X

Way back in 2009 I wrote up some instructions on how to use LilyPond with jEdit on Mac OS X. I never much attached myself to jEdit, but it was serviceable for LilyPond at least. Today however I use Sublime Text for just about all my coding, and it makes a perfectly fine replacement for the LilyPond app’s built-in editor, with a bit of configuration. Here’s how I have mine set up:

  1. Install SubLilyPond into Sublime Text via Package Control

  2. Add a build system to Sublime Text (Tools → Build System → New Build System…) based on these nice instructions. Specifically, I named my file lilypond.sublime-build and it had this code in it, which specifies the exact path to the Mac LilyPond binary in my Applications directory:

Now .ly files will get syntax highlighting in Sublime Text, and the F7 or ⌘+B keystroke will build my PDF file. I then keep the working PDF loaded in Google Chrome (which has a built-in PDF viewer), and just hit refresh on that window every time I want to view the results of the build.

Persistence

Old Calvin Coolidge

Nothing in the world can take the place of Persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination alone are omnipotent.

—Calvin Coolidge

Everybody happy. Now you happy.

I saw those words scrawled on a wall somewhere, years ago, back in high school: “Everybody happy. Now you happy.” Always kind of liked that phrase. You have to say it with a nondescript accent; a kind of deep voice too.

Anyway, just came here to say Pharrell Williams has become an ambassador for world peace. That is all:

This one is definitely my favorite:

I like to see happy people. There, now you happy too.

三杯雞