" JJhtml: map macro html mode for vi
" by Moss Collum
" version 0.99 JJhtml and JJframe done, remaining templates tbd
" other things finished
" modified 09/07/98
" version 0.9 quicktags and generaltags done
" version 0.8 basic outline created
" created 09/05/98
"
" Overall Plan:
" quicktags: place paired or single tags around cursor as appropriate
" JJA, JJMAIL, JJB, JJI, JJ^M, JJP, JJTA, JJTR, JJTD, JJFRAME
" generaltags: use user defined text as a tag
" (word)JJ/, (word)JJ.
" templates: provide shells for standard objects
" JJhtml, JJframe, JJcolumn, JJrightscroll, JJrscol, JJcenter
" tools: utility macros
" JJindent
"
" Standard Mark Names:
" i: inside of last container tag
" a: attribute section of last tag
" h: document header
" b: document body
" f: frameset
" t: title
" s: stylesheet
"
" --------------
" quicktags
" --------------
" JJA: address tag
map! JJA <mia/a>`ii
" JJMAIL: mailto
map! JJMAIL <mia/a>`ii
" JJB: boldface
map! JJB <mia/b>`ii
" JJI: italic
map! JJI <mia/i>`ii
" JJ^M: line break ^M
map! JJP mia
^M
map! JJ
" JJP: paragraph break ^M
^M^M | ^M map! JJTD
<mia/td>
`ii
" JJFRAME: frame tag ^M
map! JJFRAME
`aa
" JJDATE: Job Posted Date Posted date^MM^MM map! JJDATE Posted //99mia`ia " JJLI: List Item ^M ^M map! JJLImia (posted //99) `ia " -------------- " generaltags " -------------- " (word)JJ/: <(word>(word)> map! JJ/ bdei<pemaa><mia/pea> " (word)JJ.: <(word)> map! JJ. bdei<pemaa> " " -------------- " templates " -------------- " " A good HTML file will consist of: " " a doctype " paired html tags \ " paired head tags \ | " |