Python implementation of rmate for TextMate 2