Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a bundle including everything

  • Loading branch information...
commit 5f67b662412e1c97e14f12476a6cab693f24ed67 1 parent 375f322
@kneath authored
View
16 Kyle's Stuff.tmbundle/Commands/Save Document.tmCommand
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>input</key>
+ <string>none</string>
+ <key>name</key>
+ <string>Save Document</string>
+ <key>output</key>
+ <string>discard</string>
+ <key>uuid</key>
+ <string>8803C1CA-6A68-4ABD-B8A2-CA7C69B82FD2</string>
+</dict>
+</plist>
View
49 Kyle's Stuff.tmbundle/Macros/Strip Whitespace Then Save Document.tmMacro
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>commands</key>
+ <array>
+ <dict>
+ <key>argument</key>
+ <dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>perl -pe 's/[\t ]+$//g'</string>
+ <key>fallbackInput</key>
+ <string>document</string>
+ <key>input</key>
+ <string>selection</string>
+ <key>name</key>
+ <string>Remove Trailing Spaces in Document / Selection</string>
+ <key>output</key>
+ <string>replaceSelectedText</string>
+ <key>uuid</key>
+ <string>0F8C1F78-6E4C-11D9-91AF-000D93589AF6</string>
+ </dict>
+ <key>command</key>
+ <string>executeCommandWithOptions:</string>
+ </dict>
+ <dict>
+ <key>argument</key>
+ <dict>
+ <key>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>input</key>
+ <string>none</string>
+ <key>output</key>
+ <string>discard</string>
+ </dict>
+ <key>command</key>
+ <string>executeCommandWithOptions:</string>
+ </dict>
+ </array>
+ <key>keyEquivalent</key>
+ <string>@s</string>
+ <key>name</key>
+ <string>Strip Whitespace Then Save Document</string>
+ <key>uuid</key>
+ <string>E0A9D091-F0B5-4ED1-AECF-6A47E409A270</string>
+</dict>
+</plist>
View
19 Kyle's Stuff.tmbundle/Snippets/CSS Gradients [IE + Safari + Firefox].tmSnippet
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>background:#${1:000000};
+filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#${1:000000}', endColorstr='#${2:FFFFFFF}');
+background:-webkit-gradient(linear, left top, left bottom, from(#${1:000000}), to(#${2:FFFFFFF}));
+background:-moz-linear-gradient(top, #${1:000000}, #${2:FFFFFFF});$0</string>
+ <key>name</key>
+ <string>CSS Gradients [IE + Safari + Firefox]</string>
+ <key>scope</key>
+ <string>source.css</string>
+ <key>tabTrigger</key>
+ <string>gradient</string>
+ <key>uuid</key>
+ <string>B4E822FA-9A7A-4B15-BEDC-59E3E6598588</string>
+</dict>
+</plist>
View
26 Kyle's Stuff.tmbundle/Snippets/jQuery Plugin.tmSnippet
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>(function(\$){
+ \$.fn.$1 = function(options){
+ var opts = \$.extend({}, \$.fn.$1.defaults, options);
+
+ return this.each(function(){
+ $2
+ })
+ }
+
+ \$.fn.$1.defaults = {
+
+ }
+})(jQuery);</string>
+ <key>name</key>
+ <string>jQuery Plugin</string>
+ <key>tabTrigger</key>
+ <string>jp</string>
+ <key>uuid</key>
+ <string>1291F8B1-087F-4B86-A9DB-CC3518969F40</string>
+</dict>
+</plist>
View
14 Kyle's Stuff.tmbundle/Snippets/monofont.tmSnippet
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;</string>
+ <key>name</key>
+ <string>monofont</string>
+ <key>tabTrigger</key>
+ <string>monofont</string>
+ <key>uuid</key>
+ <string>A042F246-CB14-4D15-BEE0-9FB1162386CE</string>
+</dict>
+</plist>
View
18 Kyle's Stuff.tmbundle/info.plist
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Kyle's Stuff</string>
+ <key>ordering</key>
+ <array>
+ <string>1291F8B1-087F-4B86-A9DB-CC3518969F40</string>
+ <string>A042F246-CB14-4D15-BEE0-9FB1162386CE</string>
+ <string>E0A9D091-F0B5-4ED1-AECF-6A47E409A270</string>
+ <string>8803C1CA-6A68-4ABD-B8A2-CA7C69B82FD2</string>
+ <string>B4E822FA-9A7A-4B15-BEDC-59E3E6598588</string>
+ </array>
+ <key>uuid</key>
+ <string>4D798994-A6A1-4F7E-B06B-439743EC92D5</string>
+</dict>
+</plist>
View
6 README.markdown
@@ -11,4 +11,8 @@ A collection of Textmate snippets & bundles I find useful.
## Command Triggers
-* `Cmd+Shift+H` (CSS) expands selected text into a comment heading
+* `Cmd+Shift+H` (CSS) expands selected text into a comment heading
+
+## Want it all?
+
+Just install Kyle's Stuff.bundle.
Please sign in to comment.
Something went wrong with that request. Please try again.