#!/bin/sh
#
# vh - run vi with assorted HTML construct mappings
#      written by: Lawrie.Brown@adfa.edu.au - Nov 98

EXINIT=$EXINIT'
map! 1 <h1>?</h1>0f?s
map! 2 <h2>?</h2>0f?s
map! 3 <h3>?</h3>0f?s
map! 4 <h4>?</h4>0f?s
map! 5 <h5>?</h5>0f?s
map! 6 <h6>?</h6>0f?s
map! a <a href="?">?</a>0f?s
map! A <address>
</address>
kO
map! b <b>?</b>0f?s
map! c <code>?</code>0f?s
map! d <dl>
</dl>
kO
map! D <dl compact>
</dl>
kO
map! e <em>?</em>0f?s
map! f <dt> 
map! g <dd> 
map! h <th>?</th>0f?s
map! i <i>?</i>0f?s
map! j <applet code="?.class" width=300 height=100></applet>0f?s
map! l <li> 
map! m <img src="?">0f?s
map  n i<html><head>
<title>?</title>
</head><body>

<h1>?</h1>

</body></html>
6k0f?s
map! n <html><head>
<title>?</title>
</head><body>

<h1>?</h1>

</body></html>
6k0f?s
map! o <ol>
</ol>
kO
map! p <pre>
</pre>
kO
map! q <blockquote>
</blockquote>
kO
map! r <tr>?</tr>
k0f?s
map! s <strong>?</strong>0f?s
map! t <table>
</table>
kO
map! T <table border>
</table>
kO
map! u <ul>
</ul>
kO
map! x 
<br><code>?</code>0f?s
map! y <td>?</td>0f?s
map! < &lt; 
map! > &gt; 
map! & &amp; 
map! " &quot; 
map! , <br> 
map! - <hr>
map! ^ <sup>?</sup>0f?s
map! _ <sub>?</sub>0f?s
map! = <center>
</center>
kO
map!  <p>
'
export EXINIT
exec vi $*
