mark@cbosgd.ATT.COM (Mark Horton) (10/02/86)
I've been asked to post my recommended tiny vi subset I use to teach vi. Briefly, the commands I usually show a beginner are arrow keys (or hjkl if they don't have them), i<string>ESC, x, dd, u, ZZ. Once they are a bit more comfortable they usually have need for a and o. The hardest thing is hjkl, sometimes it's helpful to show them snake or rogue to get them used to it. There's a book available from AT&T or Prentice Hall called "The vi User's Handbook" which I recommend new vi users be given. (I may be a bit biased, as I wrote much of it. The author's name is listed as M.I.Bolsky, and he did indeed write much of it too.) This is really more like an extended quick reference card (66 pages worth) and it only costs about $10, I think. On the back cover of the book is a very small subset, intended to be used as a reference by secretaries and similar novices. This subset consists of vedit, ZZ, :q!RETURN, :wRETURN, :commandRETURN, :!commandRETURN, CTRL d, CTRL u, arrows/hjkl, nG, /stringRETURN, ?stringRETURN, astringESC, istringESC, ostringESC, OstringESC, BACKSPACE in input mode, x, dw, dd, u, U, :e!RETURN, and pounding on ESC if you get confused. Mark