"""""" insert mode mappings imap dv
F"i imap dc
F"i imap sty ?>o 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 st F>a imap bo F>a " yes it's here twice. sue me. :P imap it F>a imap em F>a imap ul
ki imap ol
ki imap li
  • 4hi imap dl
    ki imap dd
    4hi imap dt
    4hi " border="0" is not allowed for HTML 4.01 Strict -- use CSS class instead: .noBorder {border: 0;} imap img 12F"a 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>a imap ab F>a imap q F>a imap tt F>a imap pre
    ?>a imap scr F"i imap lk 3F"i " this should make editing css easier imap { { }O """""" 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 " 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. let myentity = "–—“”‘’…ãáçêé½" nmap utf :.!perl -MHTML::Entities -Mutf8 -lne 'utf8::decode($_); print encode_entities($_, qq{=g:myentity} );' """""" 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 `>` vmap ;st `>a` vmap ;it `>a` vmap ;em `>a` vmap ;qw `>a"` vmap ;sup `>a` vmap ;sub `>a` vmap q `>a` " uses myentity to update this vmap concurrent with the nmap, no need to touch this vmap utf :!perl -MHTML::Entities -Mutf8 -lne 'utf8::decode($_); print encode_entities($_, qq{=g:myentity});' """""" abbreviations :ab idiv
    bbla :ab cdiv
    bbla :ab dtxh :ab dtxt :ab dth4 :ab dtht4 :ab dth3 :ab ctiso :ab ctutf :ab mct :ab mgen :ab lmade :ab lsty " css specific stuff " comment wrap nmap ,mc ^i/* A */^ vmap ;mc `>a */` " php specific annoyances imap get $_GET['']2F'a imap post $_POST['']2F'a imap serv $_SERVER['']2F'a " 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 " vim600: set filetype=vim :