Rapid Code Enhancement Bundle for TextMate
Python
Permalink
Failed to load latest commit information.
Commands clean up May 5, 2010
Macros clean up May 5, 2010
Snippets added python print statment Jul 16, 2010
Support All set. Best of Sparkup + Zen Coding for now May 5, 2010
Readme.mkd documentation update May 5, 2010
info.plist added python print statment Jul 16, 2010

Readme.mkd

kCode for TextMate

Anyone who hasn't been living under a rock for the past 5 months has seen the ZenCoding project. The Sparkup Bundle brought a lot more to the table then raw ZenCoding did. So, I took the best parts of both, and made the ultimate TextMate zen bundle.

Features

  • Sparkup / ZenCoding Expansion ( ⌘E )
  • HTML Tag Selection ( ⌘D )
  • HTML Tag Delete ( ⌘⇧⌫)
  • Bundle Update via Git

Code Expansion Usage

#header > ul#nav > li.small*2 < h1{Page Title} + p{lorem ipsum} expands to:

<div id="header">
    <ul id="nav">
        <li class="small"></li>
        <li class="small"></li>
    </ul>
    <h1>Page Title</h1>
    <p>lorem ipsum</p>
</div>

Installation

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd !$
git clone git://github.com/kennethreitz/kCode.tmBundle.git
osascript -e 'tell app "TextMate" to reload bundles'

On the Horizon

  • Spaces -> Tabs Shortcut
  • ??

Special Thanks

This bundle couldn't be possible without the innovation of these incredible projects: