From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111763.tru64-unix-managers.marc@archive.invalid> From: franx () oas ! telstra ! com ! au Date: Mon, 30 Mar 1998 09:54:14 +0000 To: tru64-unix-managers Subject: SUMMERY: vi macros for authoring HTML... X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111763 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--2056257990-1386873524-891251484=:3532" Greetings fellow thespians!!! A big "Thankyou" to Varol Kaptan for helping me out so that I can convince my "Bwana-boss-man" that I have been authoring HTML for years (and retain my place as net-guru in the orifice!!!) vim also looks pretty good, maybe I nuke a lot of emails coming off this list, but I was surprised I hadn't cottoned onto it earlier.. TTFN, {fcG}. On Mon, 30 Mar 1998 franx@oas.telstra.com.au wrote: > Greetings, > I was poking around on the net somewhere and came across somewhere > where someone was talking about vi macros to assist when editing > HTML.. Hi, below are the ones I am using. I took these macros from a place I no longer remember. There were others also but these were the ones i liked most. They work as follows: Type h1 title nh1 par try this npar to get

title

try this

You can also press ^x^w to make the word under the cursor a hyperlink. ^x^l to make the current line a hyperlink ^x^1 to mahe the current line Heading 1 style ^x^2 to make the current line Heading 2 style ... ^x^3 to make the current line Heading 6 style I should also mention that I use the VIM vi clone and strongly recommend it(www.vim.org). --------------------------------------------------------------------- Varol Kaptan Tel: +90 (312) 210 3746 Informatics Institute Fax: +90 (312) 210 3745 Middle East Technical University E-mail: varol@ii.metu.edu.tr 06531 Ankara TURKEY http://www.ii.metu.edu.tr/~varol --------------------------------------------------------------------- --2056257990-1386873524-891251484=:3532 Content-Type: TEXT/PLAIN; charset=ISO-8859-9; name=".html" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: YWJiciBwZyA8aHRtbD4WDTxoZWFkPhYNPHRpdGxlPiM8L3RpdGxlPhYNPG1l dGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0 bWw7Y2hhcnNldD1pc28tODg1OS0xIj4WDTwva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QgPGg0Pg0KYWJiciBuaDQgPC9oND4NCmFiYnIgaDUgPGg1 Pg0KYWJiciBuaDUgPC9oNT4NCmFiYnIgaDYgPGg2Pg0KYWJiciBuaDYgPC9o Nj4NCmFiYnIgaWcgPGltZyBzcmM9IiI+DQphYmJyIGZyIDxmb3JtIGFjdGlv bj0iIiBtZXRob2Q9IiI+DQphYmJyIG5mciA8L2Zvcm0+DQoNCm1hcCAWGBYM IG88L2E+FhtrTyI+FhtJPGEgaHJlZj0iDQptYXAgFhgWFyBlYTwvYT4WG2Ji Ymk8YSBocmVmPSIiPhYbRiNzDQptYXAgFhgxIEloMRYbQW5oMRYbag0KbWFw IBYYMiBJaDIWG0FuaDIWG2oNCm1hcCAWGDMgSWgzFhtBbmgzFhtqDQptYXAg Fhg0IEloNBYbQW5oNBYbag0KbWFwIBYYNSBJaDUWG0FuaDUWG2oNCm1hcCAW GDYgSWg2FhtBbmg2FhtqDQo= --2056257990-1386873524-891251484=:3532-- -----End of forwarded message----- -- Frank Gallacher, Sys. ANALyst/Programmer,(aka.frAnXoSAURus reX) Systems D&I, Operator Assisted Services, Telstra (TELecom auSTRAlia). ___________ (_'-I---I-`_) lf you have nothing to say, say nothing. | 1 2 3 | You will command much more attention | 4 5 6 | when you do have something to say. | 7 8 9 | | * 0 # | +-------+ phone: (03) 969 34034 Int.: +61 3 969 34034 smtp: franx@oas.telstra.com.au, FGallach@VENTNOAS.telecom.com.au X.400: (C:AU,A:TELEMEMO,P:telecom012,O:TELECOM,OU:VENTNOAS,SN:FGallach) <<>>