Browser users warning:

The original grab and use lines here were all single lines per macro, meant to by used by a simple yank from beginning of macro body (that stuff after the "quote letter space equal-sign space" bit) to end of line; but there is nothing to be done to prevent embedded carriage returns from being interpreted as real line feeds by your browser. What you see here is not what I see when I use this file from vim! Other stuff is getting munged too, even if you try the "view page source" window (or whatever your browser calls it), so these are only hints, rather than working grab and use macros, for you. They are here primarily for me, just made visible for you out of courtesy. Sorry about that. It is also the case that macro name letters are being reused. I don't use all of these macros at once, and I'm more interested in easy to remember macro names than I am in uniquely assigned ones across this whole list. Oops!

Downloading the source for this html file in binary mode and editing it with vi or vim in visual "set list" mode to see and then to scarf out the original macros into another document for your use should work fine, though. Let me know if not, because if not, I have done more weird things than are in even my philosophy.

Cut and paste using the vi or vim "yank from dot to (implied) motion target" macros, which cut and paste content, not the X-style "drag to delineate, click to drop elsewhere" mechanism, which cuts and pastes (the the inverse mapped byte values corresponding to screen) glyphs, not at all the same thing.

/S/ Ye non-humble author, a sufferer from overweening hubris ("let them eat HTML") for over five decades now.

# Cluster of mappings for fixing and uudecoding uuencoded files using
# old style encoding with spaces where those spaces have been trimmed
# at line ends by over-eager mail processing software.
# The semantics of these assignments:
# c: cull next article;
# d: delete article in temp window/clear current buffer;
# f: move one article file to temp window;
# p: pad uuencoding with 62 trailing spaces
# t: trim those spaces beginning at column 62.
# u: uudecode the fixed up file.
# This all is much more friendly to use with color coded syntax highlighting
# turned on and "list" set for the temp window.

"c = @f@d
"d = t1GdGb1G
"f = 1G"ad/^From /-1
"p = 1G/^begin 
j!}€kbs/$/                                                              /
"t = 1G/^begin 

:.-3,.s/[ ]*$//
"u = 1G/^begin 

# Here is one to run at the top line of a base64 file

"e = !/[^A-Za-z0-9+/]/-1
enc -d -a -out 

# Usual HTML editing setup:

:set winheight=999
:set list
:set cmdheight=4
:set autoindent
:set nowrapscan
:set expandtab
:set shiftwidth=4
:set ruler

# Tools for editing bookmark files into link list pages

# @e == Left shift the body of an unordered list list element.
# @f == format the text between two alone on a line html tags.
#       This one is _really_ nice for reflowing html source file text,
#       but it is occasionally fooled by a line in the text that both
#       begins and ends with an html tag.  When it fails in that case,
#       it does no other harm, and is easily given another chance by
#       splitting the offending line at a non-html-tag spot.
# @i == open up a line and then indent it.
# @l == Replace a paragraph of file pathnames below . with a new list,
#       as new link list pages are created.
# @o == open up a line and then outdent it.
# @r == Format a links_to_follow single line entry into a multiple line
#       indented shape.
# @s == Grab a file pathname off the current line, split to make that file
#       the top window, find the "last changed" date and change it to the
#       current date (needs maintenance for each use, obviously).
# @t == Given a filename stem on a line, grab a path from the line
#       above, append a ".html" tag, make a command from that start
#       copying a links web page  template to a file by that name, then
#       open the new file for editing.
# @v == A fancier empty links line, opened up for easy editing;
#       requires a previous unordered list entry on the line above.
# @z == An empty links_to_follow entry is often handy, this will insert one:

"e = ?^[ ]*
  • $? yyP0i:.+1,/^f[ ]*$? j!/^[ ]*<.*>[ ]*$/-1 fmt | expand "i = o A "l = d}k:r !find * -type f -print | grep -v '\.*\.swp' | sort "o = o 05xA "r = 0jmrkok^d0$?<\/li> i k$?<\/a> i k^/li> 3li /"> 2li >l>lj>lkk>lk>}'rz. "s = 0ms"ay${it:split "apA G?^ *[12][90][90][910][01][0-9][0-3][0-9] ^R200110150"ad$@ab'st "t = k$T/y^j0PA.htmlyyPI:!cp general/template.html A "add@a@s "v = ?
  • o
  • O O jositejO kllllllllla "z = O
  • kf" Tools for working with shell sort research: Form the mean of the ten samples starting at element 5, append it to the row with a separating semicolon. "a = !!awk '{ mean = ( ( $5 + $6 + $7 + $8 + $9 + $10 + $11 + $12 + $13 + $14 + $15 ) / 10 ); print $0 , ";" , mean ; }' Run the above macro, then add another separating semicolon to the row and join the succeeding line of shell sort step values. "w = @aA ; J

    This page, maintained by
    Kent Paul Dolan ,  
    was last updated