"" buffer silent added to limit these mappings to those buffers for which they "" are called as html/php ftplugins "------insert mode mappings imap dv
?"i imap dc
?"i imap p

3hi imap sp 6hi imap h1

4hi imap h2

4hi imap h3

4hi imap h4

4hi imap h5
4hi imap h6
4hi imap an F"i imap ah F"i imap bo F>a imap it F>a imap st F>a imap em F>a imap ul
kili imap ol
kili imap li
  • 4hi imap dl
    ki imap dd
    4hi imap dt
    4hi imap td 4hi imap tr ko imap th 4hi imap cap F>a imap form
    kko imap fs
    ?i imap lb F>a imap ipte 12F"a imap ipta 8F"a imap op F>a imap add
    F>a imap ac F"i imap ab F"i imap bl
    O imap q F>a imap tt F>a imap pre
    ?>a imap sup F>a imap sub F>a imap del 3F"i imap ins 3F"i imap scr F"i imap nos F>a imap sty ?FIXMEve imap lsty ?FIXMEve imap ob mz'zf"a imap prm 3F"i " NOTE: border="0" is not allowed for HTML 4.01 Strict -- use CSS class instead: " .noBorder {border: 0;} " or use: " a img {border: 0;} " to mark all link images borderless imap img 8F"a imap imi 10F"a imap imc 10F"a " ampersands are a pain imap & & "------normal mode mappings nmap ,mp ^i

    A

    ^ nmap ,hp a

    bba nmap ,hx wbFf nmap ,ht wbieabb nmap ,hs wbieabb nmap ,hu wbieabb nmap ,hi wbieabb nmap ,he wbieabb nmap ,hb wbieabb nmap ,h6 _i
    A
    ^ nmap ,h5 _i
    A
    ^ nmap ,h4 _i

    A

    ^ nmap ,h3 _i

    A

    ^ nmap ,h2 _i

    A

    ^ nmap ,h1 _i

    A

    ^ nmap ,mh wbgueyei<ea>pa>bba nmap ,li ^i
  • A
  • ^4l nmap ,dt _i
    A
    nmap ,dd _i
    A
    nmap ,op ^i "------visual mode mappings vmap ;dc `>a` vmap ;dv `>a` vmap ;ul `>a` vmap ;ol `>a` vmap ;dl `>a` vmap ;li `>a` vmap ;al y`>a/">`F" vmap ;at `>a`3F" vmap ;ao `>a`3F" vmap ;ap `>a

    `F/i vmap ;inp `>a">

    `hi vmap ;op `>a` vmap ;bo `>a` vmap ;st `>a` vmap ;it `>a` vmap ;em `>a` vmap ;qw `>a"` vmap ;sup `>a` vmap ;sub `>a` vmap ;del `>a` vmap ;ins `>a` vmap q `>a` "------abbreviations ab dt4s ab dt4t ab dt4f ab dt32 " be sure you know what you're doing before using xhtml -- neither IE6 nor IE7 support application/xhtml+xml content-type -at all- ab dtxh ab dtxt ab dtxf ab ctiso ab ctutf ab mgen ab lmade ab tpcs type="text/css" ab tpjs type="text/javascript" "------- personalization -- put your own frequently typed company info here ab MHG MAD House Graphics ab mhgc madhousegraphics.com " set this for the :TOhtml command for exporting files with the current syntax-highlighting colorscheme for viewing on the web let html_use_css = 1 let html_ignore_folding = 1 " fix high utf-8 chars to html entities like “ " big thanks to jamessan in the #vim freenode channel for help figuring this out. sheesh. " with dcraven and tpope for the assist on vim variable interpolation below, so I only have " to change this in one place to get both the nmap and vmap consistent :D I realize the variable " isn't all that, yet, but I've only filled it with what I run into regularly. the more problems " I encounter, the bigger it'll get, but only as needed. Adjust accordingly. YMMV let myentity = "–—“”‘’«»…ãáçêé¼½¾¿" nmap utf :.!perl -MHTML::Entities -Mutf8 -lne 'utf8::decode($_); print encode_entities($_, qq{=g:myentity} );' vmap utf :!perl -MHTML::Entities -Mutf8 -lne 'utf8::decode($_); print encode_entities($_, qq{=g:myentity});' "------END------ " vim600: set filetype=vim tw=0 : " vim700: set nospell :