Forums

This topic is locked

Keyboard Combo for Spans?

Posted 29 Jul 2005 01:56:44
1
has voted
29 Jul 2005 01:56:44 Mark Hiatt posted:
For the next week or so I'm going to be waist-deep in some really formatty pages, with tons of spans. I know, love and use every day the combination of <b>Control&#43;Shift&#43;P</b> to generate a pair of paragraph tags. Highlight a word, <b>Control&#43;Shift&#43;P</b> and Boom! - there it is in its own paragraph. Highlight a whole line, or several lines, <b>Control&#43;Shift&#43;P</b> and they're all a part of a new paragraph. Type <b>Control&#43;Shift&#43;P</b> alone and you get a paragraph-open and paragraph-close tag alone together, ready for whatever goes in there. How cool is that, right?

Well, I'm about to start working with a <i>ton</i> of Spans, some of them even nested, and it would be great if I could <b>Control&#43;Shift&#43;\</b> or something and have that generate, inline, <b>&#60;span class=""&gt;&#60;/span&gt;</b> or even <b>&#60;span&gt;&#60;/span&gt;</b>. As popular as Divs and Spans are becoming, it's hard to believe that there isn't some keyboard combination that generates a pair. Does anyone know of one? Thanks!


"Better Documentation Through Science!"
Mark D Hiatt,
Lincoln, NE

Reply to this topic