mirror of
https://github.com/kennethreitz-archive/kcode.tmbundle.git
synced 2026-06-05 23:50:18 +00:00
45 lines
1.1 KiB
Markdown
45 lines
1.1 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.
|
|
|
|
Usage
|
|
-----
|
|
`#header > ul > li < p{Footer}` expands to:
|
|
|
|
<!-- The < symbol goes back up the parent; i.e., the opposite of >. -->
|
|
<div id="header">
|
|
<ul>
|
|
<li></li>
|
|
</ul>
|
|
<p>Footer</p>
|
|
</div>
|
|
|
|
|
|
Features
|
|
--------
|
|
* Sparkup / ZenCoding Expansion ( ⌘E )
|
|
* HTML Tag Selection ( ⌘D )
|
|
* HTML Tag Delete ( ⌘⇧⌫)
|
|
* Bundle Update via Git
|
|
|
|
On the Horizon
|
|
--------------
|
|
|
|
* Tabs -> Spaces Shortcut
|
|
* ??
|
|
|
|
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'
|
|
|
|
|
|
Special Thanks
|
|
--------------
|
|
* [ZenCoding](http://code.google.com/p/zen-coding)
|
|
* [Sparkup](http://github.com/rstacruz/sparkup)
|