Enhancements for the Insert Mode

mappingwhenresultdescription
>
<para|
<para>|</para>
closes the current tag and puts the cursor between the opening and ending tag
>>
<para|
<para>
    |
</para>
closes the current tag, inserts newline between the tags, and puts the cursor on the blank line
;;
para|
<para>|</para>
makes a pair of tags out of the preceding word, and puts the cursor between them
;;
para|
<para>
    |
</para>
when the word is on its own line, makes a pair of tags out of the preceding word, inserts newline between the tags, and puts the cursor on the blank line