Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Rapid Code Enhancement Bundle for TextMate
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Commands
Macros
Snippets
Support
Readme.mkd
info.plist

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:

Something went wrong with that request. Please try again.