Files
2010-05-05 00:29:47 -04:00

49 lines
1.2 KiB
Markdown

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](http://github.com/rstacruz/sparkup) 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:
* [ZenCoding](http://code.google.com/p/zen-coding)
* [Sparkup](http://github.com/rstacruz/sparkup)