[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: html.spl and programming.spl



Another simple way to mark up text is to assign HTML sequences
and cursor movements to keys. For instance, I assign italic
markup to a given key (say ^i) with

23=<,I,>,<,/,I,>,cl,cl,cl,cl

That produces  with the cursor between the tags. To
italicize text that is already in the file, I select it and use
the key combination to which I have assigned this sequence:

23=db,<,I,>,de,<,/,I,>,xd
(db=go to beginning of selected block, de=go to end of block)

Cheers,
--
Nathan Sivin
History and Sociology of Science
University of Pennsylvania
Philadelphia PA 19104-6304
(215) 898-7454
nsivin@xxxxxxxx