" SECTION 1: Setup menus and associated mapped keyboard shortcuts " "" Menu HTML Tags " imapclear if has("gui") aunmenu HTML\ Tags endif " Comment: unmap ;cm unmap! ;cm " """ Name Anchor: unmap ;an unmap! ;an " """ Href Anchor: unmap ;ah unmap! ;ah " """ Image: unmap ;im unmap! ;im " """ Break: unmap ;br unmap! ;br " """ Horizontal Rule: unmap ;hr unmap! ;hr " """ Headings Sub-Menu """" H1 Heading unmap ;h1 unmap! ;h1 " """" H2 Heading unmap ;h2 unmap! ;h2 " """" H3 Heading unmap ;h3 unmap! ;h3 " """" H4 Heading unmap ;h4 unmap! ;h4 " """" H5 Heading unmap ;h5 unmap! ;h5 " """" H6 Heading unmap ;h6 unmap! ;h6 " " """ Format: " Address format unmap ;ad unmap! ;ad " " Bold format unmap ;bo unmap! ;bo " " Big format unmap ;bi unmap! ;bi " " Blink format - you might take this out to discourage use unmap ;bk unmap! ;bk " " Blockquote format unmap ;bl unmap! ;bl " " Center format unmap ;ce unmap! ;ce " " Cite format unmap ;ci unmap! ;ci " " Code format unmap ;co unmap! ;co " " Definition format unmap ;df unmap! ;df " " Emphasis format unmap ;em unmap! ;em " " Italics format unmap ;it unmap! ;it " " Keyboard format unmap ;kb unmap! ;kb " " No break format unmap ;nb unmap! ;nb " " Pre format unmap ;pr unmap! ;pr " " Strike format unmap ;sk unmap! ;sk " " Sample format unmap ;sa unmap! ;sa " " Small format unmap ;sm unmap! ;sm " " Strong format unmap ;st unmap! ;st " " Subscript format unmap ;sb unmap! ;sb " " Superscript format unmap ;sp unmap! ;sp " " Typewriter heading unmap ;tt unmap! ;tt " " Underline heading unmap ;uu unmap! ;uu " " Variable format unmap ;vv unmap! ;vv " """ List Sub-Menu """" list Item - unmap ;li unmap! ;li " """" list Header unmap ;lh unmap! ;lh " """" Unordered List unmap ;ul unmap! ;ul " """" Ordered List unmap ;ol unmap! ;ol " """" Directory List unmap ;di unmap! ;di " """" Menu List unmap ;mu unmap! ;mu " """" Definition Item unmap ;dt unmap! ;dt " """" Definition list unmap ;dl unmap! ;dl " " SECTION 2: macros unassociated with menus " ABBREV (3.0) unmap! ;ab " ACRONYM (3.0) unmap! ;ac " AU (Author) (3.0) unmap! ;au " BANNER (3.0) unmap! ;ba " BASE (head) unmap! ;bh " BASEFONT (Netscape) unmap! ;bf " BODY unmap! ;bd " CAPTION (3.0) unmap! ;ca " CREDIT (3.0) unmap! ;cr " DD (definition for definition list) unmap! ;dd " DEL (deleted text) (3.0) unmap! ;de " DIV (document division) (3.0) unmap! ;dv " FIG (figure) (3.0) unmap! ;fi " FN (footnote) (3.0) unmap! ;fn " FONT (Netscape) unmap! ;fo " HEAD unmap! ;he " HTML (3.0) unmap! ;ht " INS (inserted text) (3.0) unmap! ;in " LANG (language context) (3.0) unmap! ;la " LINK (head) unmap! ;lk " META (head) unmap! ;me " NOTE (3.0) unmap! ;no " OVERLAY (figure overlay image) (3.0) unmap! ;ov " P (paragraph) unmap! ;pp " Q (quote) (3.0) unmap! ;qu " RANGE (3.0) (head) unmap! ;ra " STYLE (3.0) unmap! ;sn " TAB (3.0) unmap! ;ta " TITLE (head) unmap! ;ti " WBR (word break) (Netscape) unmap! ;wb " Special Characters unmap! ;& unmap! ;cp " this causes an error on my system "unmap! ;" unmap! ;< unmap! ;> """ """ " SECTION 3: Additional Autocommands " " should these be unset ? - TODO " """ read in skeleton file ":au BufNewFile *.html 0r ~/.vim/skeleton.html """ Setup browser to display when writing files ":au BufWritePost *.html !netscape -remote 'openFile(%:p)' """ Change modification data in first 30 lines of file (from vim help) ":au BufWritePre *.html ks|1,30g/Last modification: /normal f:lD:read !date kJ's