home *** CD-ROM | disk | FTP | other *** search
- .exrc
- Elvis first runs a ".exrc" file (if there is one) from your $HOME
- directory. After that, it runs a .exrc (if there is one) from the
- current directory. The one in the current directory may override
- settings made by the one in the $HOME directory.
-
- :mkexrc
- :mk
- This EX command saves the current :set and :map configurations in
- the ".exrc" file in your current directory.
-
- :args
- :ar
- You can use the :args command to define a new args list, as in:
-
- :args *.h
-
- After you have defined a new args list, the next time you issue a
- :next command Elvis will switch to the first file of the new list.
-
- :Next
- :previous
- :N
- :pre
- These commands move backwards through the args list.
-
- zz
- In VI, the (lowercase) "zz" command will center the current line on
- the screen, like "z="
-
- .
- The default count value for . is the same as the previous command
- which . is meant to repeat. However, you can supply a new count
- if you wish. For example, after "3dw", "." will delete 3 words,
- but "5." will delete 5 words.
-
- ".
- The text which was most recently input (via a "cw" command, or
- something similar) is saved in a cut buffer called ". (which is a
- pretty hard name to write in an English sentence). You can use this
- with the "p" or "P" commands thusly:
-
- ".p
-
- K
- You can move the cursor onto a word and press shift-K to have Elvis
- run a reference program to look that word up. This command alone is
- worth the price of admission! See the ctags and ref programs.
-
- input
- You can backspace back past the beginning of the line.
-
- If you type control-A, then the text that you input last time is
- inserted. You will remain in input mode, so you can backspace over
- part of it, or add more to it. (This is sort of like control-@ on
- the real vi, except that control-A really works.)
-
- Real vi can only remember up to 128 characters of input, but Elvis
- can remember any amount.
-
- :set charattr
- :se ca
- Elvis can display "backslash-f" style character attributes on the
- screen as you edit. The following example shows the recognized
- atributes:
-
- normal \fBboldface\fR \fIitalics\fR \fUunderlined\fR normal
-
- NOTE: you must compile elvis without the -DSET_NOCHARATTR flag for
- this to work.
-