Created
July 31, 2009 12:00
-
-
Save piouPiouM/159193 to your computer and use it in GitHub Desktop.
TextMate "Convert Selection to Unicode" command for the CSS bundle.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>beforeRunningCommand</key> | |
<string>nop</string> | |
<key>bundleUUID</key> | |
<string>4675F24E-6227-11D9-BFB1-000D93589AF6</string> | |
<key>command</key> | |
<string>#!/usr/bin/env ruby -wKU | |
print STDIN.read.unpack("U*").map { |e| sprintf('\%02x', e) }.join(' ')</string> | |
<key>fallbackInput</key> | |
<string>character</string> | |
<key>input</key> | |
<string>selection</string> | |
<key>keyEquivalent</key> | |
<string>^X</string> | |
<key>name</key> | |
<string>Convert Selection to Unicode</string> | |
<key>output</key> | |
<string>replaceSelectedText</string> | |
<key>uuid</key> | |
<string>30A2527B-0FC7-4620-A746-B5746B5915D3</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment