I always thought Textmate's ability to just drag an image from your project drawer into a certain point in the code was very helpful. But what you're asking would be very easy to do by creating a snippet. Take something like the <div> snippet, duplicate it, and just insert the <img> tag. I just did one example up real quick - it uses a tab trigger instead of a command, though. Just type "img" then tab, and the whole tag will appear. You can go through and tab to each part of the tag, too - the source, dimensions, and alt attributes. Hope that helps!
Chip
On Jan 29, 2008 7:01 AM, MtnBiker Nabble@web.knobby.ws wrote:
Is it possible to get the equivalent of BBEdit's Command-control I which is a helper for putting in the tag? -- View this message in context: http://www.nabble.com/Image-HTML-helper-tp15030586p15030586.html Sent from the textmate users mailing list archive at Nabble.com.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate