add abbreviation support

This implements #5. Let me know what you think. Here's a screenshot:

![abbreviations](http://i.imgur.com/pHRYhwQ.png)