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. <div>
<br class="webkit-block-placeholder"></div><div>Hope that helps!</div><div><br class="webkit-block-placeholder"></div><div>Chip<br><br><div class="gmail_quote">On Jan 29, 2008 7:01 AM, MtnBiker <<a href="mailto:Nabble@web.knobby.ws">Nabble@web.knobby.ws</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>Is it possible to get the equivalent of BBEdit's Command-control I which is a<br>helper for putting in the tag?<br>
--<br>View this message in context: <a href="http://www.nabble.com/Image-HTML-helper-tp15030586p15030586.html" target="_blank">http://www.nabble.com/Image-HTML-helper-tp15030586p15030586.html</a><br>Sent from the textmate users mailing list archive at <a href="http://Nabble.com" target="_blank">Nabble.com</a>.<br>
<br><br>______________________________________________________________________<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br>
<a href="http://lists.macromates.com/mailman/listinfo/textmate" target="_blank">http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div><br></div>