Blog

Hemisu for Lion Terminal

05/02/2012
Screen shot of dark and light variants

Light and dark variants site by side in Terminal.app

The counterpart to the dichromatic Hemisu color scheme for Vim, Hemisu for Mac OS X Lion’s Terminal.app comes in two versions, dark and light.

Vim Color Scheme: Hemisu

13/11/2011

Introducing Hemisu, a color scheme for the command-line editor Vim, that comes in two flavors (dark and light) and nicely complements Peppermint.

A screen shot of Hemisu on the desktop

The dark and light themes running in MacVim

Features

  • Two modes: one optimized for daytime, the other optimized for low light conditions
  • Made to work with both GUIs (gui) and 256-color terminals (cterm)
  • Provides harmonious colors and styles for all predefined UI elements and syntax groups

(more…)

Mac OS X Lion Terminal Theme: Peppermint

29/09/2011
Terminal Theme: Peppermint

I do a lot of work in Mac OS X’s Terminal.app, and I’ve spent some time tweaking the colors, font, and other settings to get it just right. The result is Peppermint, a Terminal theme for Lion:
(more…)

Snapshot Coda Plug-in

10/04/2011
Coda Snapshot Plug-in

I authored a very small plug-in for Coda that will save a copy of an open document with a timestamp appended to the name. The reason being that I constantly find myself making small edits to sites that I don’t maintain myself (which makes putting them under version control impractical), and I want to make a quick backup of a file I’ve downloaded before applying my changes. I realized today that it would be worth my time to automate the process of copying the file and renaming it.

To make a backup of example.txt, open the file in the editor, go to Plug-ins > Make Timestamped Snapshot or hit Ctrl+Option+Cmd+S, and example_20110412.txt will be created in the same directory. I’ve only included the year, month, and day in the timestamp to suit my usage, but it can be easily modified if need be (just edit the bundled shell script).

Coda Shell Script

24/02/2011
Coda shell script in action

As noted in a previous article, I use Panic’s Coda editor heavily. Inspired by Aditya Bhargava’s Perl script Command-Line Coda, I wrote a shell script version for my own use. The usage is really simple. To launch Coda from a command line prompt:

> coda

Or, to open a file in Coda:

> coda file.txt

To open multiple files:

> coda file1.txt file2.txt

Note that if one or more of the files don’t exist, they will be created for you. You can also use a wildcard as with other commands:

> coda *.php

Download the script or check out the public Git repository on GitHub.