" " HTML add-on mode for `vi' and compatible editors. " ============================================================================== " (c) Premek Brada " " The HTML mode is aimed to ease the insertion of the " common but complicated markup elements like anchors and lists; simple " markups (para, bold, ...) is sometimes included as well for the sake " of completeness. " Please amend and improve this file as you feel is good; just remember " that I will be happy if you post these goodies back to me as well. " " " options and settings " -------------------- set textmode syntax on " " " using ^W ''web'' command prefix " ------------------------------- " " ^W_i2_ = 'insert mode 2nd part' = return to the text insertion '@' point map! _i2_ ?@ xi " " meta-level document information map! doctype mmgO`ma map! meta _i2_ map! http _i2_ map! title @_i2_ map! base _i2_ map! lnk _i2_ " " block-level elements " map! div
_i2_ " " 1. headings; added mappings for czech (keybcs2) keyboard map! h1

@

_i2_ map! h+

@

_i2_ vmap h1 "wdh1"wP map! h2

@

_i2_ map! hì

@

_i2_ vmap h2 "wdh2"wP map! h3

@

_i2_ map! h¹

@

_i2_ vmap h3 "wdh3"wP " 2. paragraph elements, lists map! adr
@
_i2_ map! para

map! ul

_i2_ map! ol
  1. @
_i2_ map! li
  • map! dl
    @
    _i2_ dt " definition list item map! dt

    @

    _i2_ " meta: 'topic list item' map! tli
  • @ -- _i2_ " 3. misc block-level elems map! cen
    @
    _i2_ map! pre
    @
    
    _i2_ map! bq
    @
    _i2_ map! hr
    " " text-level elements " map! span _i2_ " " 1. phrases map! em @_i2_ vmap em "wdem"wP map! str @_i2_ vmap str "wdstr"wP map! kbd @_i2_ vmap kbd "wdstr"wP map! code @_i2_ vmap code "wdcode"wP map! samp @_i2_ vmap samp "wdsamp"wP map! var @_i2_ vmap var "wdvar"wP map! cite @_i2_ vmap cite "wdcite"wP " netscape/mozilla neumi .... map! dfn @_i2_ map! def dfn vmap def "wddfn"wP map! cmd kbd vmap cmd "wdkbd"wP map! abbr @_i2_ vmap abbr "wdabbr"wP " meta phrases -- things we use that are not in HTML spec map! term @_i2_ vmap term "wdterm"wP map! cize (@)_i2_ vmap cize "wdcize"wP " label is an in-line heading map! lab @_i2_ vmap lab "wdlab"wP " 2. direct font manipulations map! bo @_i2_ vmap bo "wdbo"wP map! it @_i2_ vmap it "wdit"wP map! tt @_i2_ vmap tt "wdtt"wP map! small @_i2_ vmap small "wdsmall"wP map! big @_i2_ vmap big "wdbig"wP map! sup @_i2_ vmap sup "wdsup"wP map! sub @_i2_ vmap sub "wdsub"wP map! font _i2_ " 3. special (anchor, name, image, comment, #includes) map! an _i2_ map! na _i2_ map! mail <brada@kiv.zcu.cz> map! img _i2_ map! com _i2_ map! ssi _i2_ map! incl _i2_ map! ivar _i2_ map! ival _i2_ " 4. entities map! < < map! > > map! & & " " tables (^W^T prefix) " map! table
    ? map! h map! d " " forms (^W^F prefix) " map! form
    O map! text 0/" a map! passwd 0/" a map! chk 0/" a map! radio 0/" a map! img 0/" a map! submit 0/" a map! reset 0/" a map! file 0/" a map! hidden 0/" a map! sel _i2_ map! opt