Coming soon: Peer to Peer - watch how experts solve tech problems.

Learn more

Coming soon: Peer to Peer - watch how experts solve tech problems.

Mac Classic - a light colorscheme

I could never find a light colorscheme for Vim that I enjoyed using, so I finally took the time to port the “Mac Classic” theme from TextMate. The source code is on gitub, so feel free to fork it.

While making this colorscheme, I learned of a few useful tools. To get started, I used Marcin Kulik’s Coloration tool, to convert the TextMate theme into a Vim colorscheme. The result looked pretty good for syntax elements, but the colors for Vim’s interface needed some heavy tweaking.

I discovered Yuri Feldman’s hexHighlight.vim script, which detects hex codes, and highlights them with the color that they represent.

To begin with, I just created the “Mac Classic” theme to work in GVim, but people started asking if I was planning on making it work in color terminals. That was when I recalled that Shawn Biddle had created a script for converting GUI colorschemes to work in color terminals. I ran the “Mac Classic” theme through Shawn’s script, and was pleased with the results.

My latest screencast on creating colorschemes for Vim goes into more detail on how I used each of these tools.

Comments

Level-up your Vim

Training

Boost your productivity with a Vim training class. Join a public class, or book a private session for your team.

Drew hosted a private Vim session for the shopify team that was one of the best workshops I have ever attended.

John Duff, Director of Engineering at Shopify

Publications

Make yourself a faster and more efficient developer with the help of these publications, including Practical Vim (Pragmatic Bookshelf 2012), which has over 50 five-star reviews on Amazon.

After reading it, I've switched to vim as my default editor on a daily basis with no regrets. ★★★★★

Javier Collado

Learn to use Vim efficiently in your Ruby projects

In association with Thoughtbot, one of the most well respected Rails consultancies in the world, I've produced a series of screencasts on how to make navigating your Ruby projects with Vim ultra-efficient. Along the way, you’ll also learn how to make Ruby blocks a first-class text object in Vim. This lets you edit Ruby code at a higher level of abstraction. Available to buy from Thoughtbot..