home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / program / d / elvis / Docs / Extensions < prev    next >
Encoding:
Text File  |  1990-01-09  |  2.1 KB  |  71 lines

  1. .exrc
  2.     Elvis first runs a ".exrc" file (if there is one) from your $HOME
  3.     directory. After that, it runs a .exrc (if there is one) from the
  4.     current directory.  The one in the current directory may override
  5.     settings made by the one in the $HOME directory.
  6.  
  7. :mkexrc
  8. :mk
  9.     This EX command saves the current :set and :map configurations in
  10.     the ".exrc" file in your current directory.
  11.  
  12. :args
  13. :ar
  14.     You can use the :args command to define a new args list, as in:
  15.  
  16.         :args *.h
  17.  
  18.     After you have defined a new args list, the next time you issue a
  19.     :next command Elvis will switch to the first file of the new list.
  20.  
  21. :Next
  22. :previous
  23. :N
  24. :pre
  25.     These commands move backwards through the args list.
  26.  
  27. zz
  28.     In VI, the (lowercase) "zz" command will center the current line on
  29.     the screen, like "z="
  30.  
  31. .
  32.     The default count value for . is the same as the previous command
  33.     which . is meant to repeat.  However, you can supply a new count
  34.     if you wish.  For example, after "3dw", "." will delete 3 words,
  35.     but "5." will delete 5 words.
  36.  
  37. ".
  38.     The text which was most recently input (via a "cw" command, or
  39.     something similar) is saved in a cut buffer called ". (which is a
  40.     pretty hard name to write in an English sentence).  You can use this
  41.     with the "p" or "P" commands thusly:
  42.  
  43.         ".p
  44.  
  45. K
  46.     You can move the cursor onto a word and press shift-K to have Elvis
  47.     run a reference program to look that word up.  This command alone is
  48.     worth the price of admission!  See the ctags and ref programs.
  49.  
  50. input
  51.     You can backspace back past the beginning of the line.
  52.  
  53.     If you type control-A, then the text that you input last time is
  54.     inserted.  You will remain in input mode, so you can backspace over
  55.     part of it, or add more to it.  (This is sort of like control-@ on
  56.     the real vi, except that control-A really works.)
  57.  
  58.     Real vi can only remember up to 128 characters of input, but Elvis
  59.     can remember any amount.
  60.  
  61. :set charattr
  62. :se ca
  63.     Elvis can display "backslash-f" style character attributes on the
  64.     screen as you edit.  The following example shows the recognized
  65.     atributes:
  66.  
  67.         normal \fBboldface\fR \fIitalics\fR \fUunderlined\fR normal
  68.  
  69.     NOTE: you must compile elvis without the -DSET_NOCHARATTR flag for
  70.     this to work.
  71.