home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / editors / pcvile.arj / VILE.HLP < prev   
Text File  |  1991-07-21  |  28KB  |  634 lines

  1. Welcome to pcvile
  2. -----------------
  3.     This version of vile differs from the distributed source code of
  4.     vile version 3 in a few ways which I shall make clear here:
  5.  
  6.     1) The cursor keys, page up/down and insert/delete keys have been
  7.        compiled into the program (I tried binding but due to a bug this
  8.        didn't seem to work too well) so this should keep the "I don't
  9.        like using hjkl" brigade happy!
  10.  
  11.     2) Vile distinguishes between a write of a region ':1,20w' and a
  12.        write of a whole file ':w' and so each of these have been given
  13.        different letters.  The region write is ':1,20W' and the file
  14.        write remains ':w'.  ':wq' remains the same.
  15.  
  16.     3) I have implemented the emacs ^X-O command to flip between windows
  17.        as I tend to use this quite a bit rather then ^N and ^P which is
  18.        the vile standard.
  19.  
  20.     4) You can force this version of vile into one of three screen modes:
  21.        25, 43 and 50 line.  I have had problems with the 43 line mode
  22.        on AST premium 286 workstations (the only EGA I can lay my hands on)
  23.        so I apologise if it doesn't work, the 25 and 50 line modes work
  24.        fine though.  The default is 50 lines (for various reasons!) so if
  25.        you have a mono or cga monitor you'll have to change your vile.rc
  26.        file.
  27.  
  28.        There are two ways to set the screen mode:
  29.  
  30.        a) with a command line option: -2 -4 -5 are 25, 43 and 50 line resp.
  31.  
  32.        b) by adding "setg screen {25|43|50}" into your vile.rc file.
  33.           Note you should NOT do this from within the editor.
  34.  
  35.        Also, if you shell out in 50 line mode, make sure you are in 50 line
  36.        mode before you exit the dos shell, otherwise you end up with a 50
  37.        line edit window with only the top 25 displayed!
  38.  
  39.        Personally I find 50 line mode very usable, but I know people who
  40.        have difficulty reading it so just put setg screen 25 in the vile.rc
  41.        file to save your eyesight.
  42.  
  43.     5) Shelling out to dos can be done by using ^Z, however this doesn't
  44.        seem to want to work if vile has run out of memory.
  45.  
  46.     There are still plenty of bugs I know, the main one I want to get done
  47.     first being memory, ie running out, and the vi compatibility isn't
  48.     100% but I like it, and I hope some others might too.
  49.  
  50.     I am taking responsibility for any pcvile bugs (please check the enclosed
  51.     known bug list first though) and I'll then split them into pc
  52.     specific, which I will deal with, and vile general bugs, which I will pass
  53.     on to Paul Fox so that they can be fixed for version 4.
  54.  
  55.  
  56. Getting along with vile
  57. -----------------------
  58.     Use Ctrl-D and Ctrl-U to scroll through this help information.
  59.  
  60.     Type Ctrl-O to make this the only window on the screen.
  61.  
  62.     The only vile commands described herein are those not 
  63.     present in vi, or differing greatly from those in vi.
  64.     There is a section at the bottom describing other differences
  65.     between vile and vi.
  66.  
  67.     First, to leave vile, use any of the following:
  68.         :q
  69.         :quit
  70.         :exit
  71.         :wq    (writes the file before quitting)
  72.         :q!    (quits without writing changes!)
  73.         Q
  74.         ZZ    (will write all unwritten buffers)
  75.         ^X-^C    (don't know why.  _They_ don't put in ":q" for _us_!)
  76.  
  77.     To get help (probably just this text), use any of:
  78.         :h
  79.         :help
  80.         ^X-^H
  81.         ^A-^H
  82.  
  83. General Remarks
  84. ---------------
  85.     Vile holds text in "buffers".  Usually, these correspond to a file
  86.     that you are editing, but not always.  For instance, a buffer
  87.     might be used to display this help text, or to hold the output
  88.     of a shell command that you have run.  Buffers have names, and
  89.     these usually match the names of the files they contain.
  90.  
  91.     Buffers are sometimes displayed in windows.  A buffer may be 
  92.     displayed in more than one window at the same time.  There is 
  93.     no such thing as a hidden window.  All existing windows are on 
  94.     the screen.  There may, however, be hidden buffers, which are not 
  95.     currently associated with any window.
  96.  
  97.     All yank/delete registers (the default unnamed register, the numbered
  98.     registers ("1-"9) that hold line-deletes, and the named registers
  99.     ("a-"z)) are global to the editor, and not attached to any single
  100.     buffer.  Thus you can delete text in one buffer and put it back in
  101.     another. 
  102.  
  103.     Undo operations are attached to a buffer, not a window.  Thus if
  104.     you have two windows to the same buffer, and make a change in one,
  105.     you can undo it in the other.
  106.  
  107. Buffer manipulation commands:  
  108. -----------------------------
  109.     _    Show a history list of the up to 9 most recently visited 
  110.         buffers.  Follow this command with a digit to select that
  111.         buffer, or simply repeat it ("__") as a synonym for "_1".
  112.         Modified buffers are preceded by a '*' in the history list.
  113.         There are many different ways to get the previous file:
  114.             __
  115.             _1
  116.             1_
  117.             :p
  118.             :e#
  119.             ^^   (ctrl-^)  (but many keyboards can't produce this)
  120.  
  121.     :e    Edit a file.  If the file is already in a buffer, that buffer
  122.         will be recalled into the current window.
  123.  
  124.     :e!    Re-edit a file.  A different filename can be given, but the 
  125.         buffer name will not change to match it. 
  126.  
  127.     ^X-e    Edit the file whose pathname appears under the cursor.  That
  128.         is, if you are editing a makefile, you could edit one of the
  129.         source files by placing the cursor at the start of its name
  130.         and using this command.
  131.  
  132.     :n    Go to the next buffer.  "next" means least recently used.
  133.  
  134.     :rename    Rename the current buffer.  Prompts for a new name.  Does
  135.         not affect the filename associated with the buffer.  Use ":f"
  136.         to do that.
  137.         This command is useful for renaming the "[Output]" buffer, if
  138.         you wish to preserve its contents, but run a new command. 
  139.  
  140.     :b    Edit a buffer.  Recalls the named buffer.  Does not look for
  141.         a file of that name.  Will find "invisible" buffers.
  142.  
  143.     :ki    Kill a buffer.  Remove the buffer and its contents from the
  144.         editor.  Will ask if changes to the buffer should be discarded.
  145.         Currently, a buffer that is being displayed cannot be killed.
  146.         
  147.     *    Display a list of all buffers, or make that display go away
  148.         if it's already present.  Leave your finger on the key, and
  149.         it's easy to create and destroy the list.  The buffers are
  150.         numbered; the numbers correspond to the history numbers
  151.         shown and used by the '_' command, described above.  (If
  152.         the buffer number is greater than 9, then the "nn_" form of
  153.         the '_' command must be used, since '_' will only accept a
  154.         single following digit.)  Note that since the buffer names
  155.         are displayed in order of use, the list can quickly grow
  156.         "stale" -- the numbers may be meaningless if buffer
  157.         switching has been done since the last display of the list. 
  158.  
  159.         The program version is also displayed with this command.
  160.  
  161.     ^A-*    Always display a list of all buffers.  Useful for updating the
  162.         list if it's already on the screen but may be out of date.
  163.         Any argument will cause the list to include _all_ buffers,
  164.         even those normally considered "invisible".  (For example,
  165.         macros are stored in "invisible" buffers.)
  166.  
  167. Window manipulation commands:  
  168. -----------------------------
  169.     ^T    Make Two windows.  Splits the current window in half. This
  170.         is the usual way to create a new window.
  171.     ^K    Get rid of (Kill) this window.
  172.     ^O    Make this the Only window on the screen.
  173.  
  174.         The emacs-style commands ^X-2, ^X-0, and ^X-1 are also 
  175.         included, and are synonymous with ^T, ^K, and ^O.
  176.  
  177.     ^N    Go to the next window on the screen.
  178.     ^P    Go to the previous window on the screen.
  179.  
  180.         These two commands may be disturbing to vi users who use
  181.         ^N and ^P to move between lines.  See the examples under
  182.         Key Rebinding for how to fix this.
  183.  
  184.     v    Make the current window smaller.
  185.     V    Make the current window larger.
  186.  
  187.     ^A-^D    Scroll the next window down half a screen.
  188.     ^A-^U    Scroll the next window up half a screen.
  189.     ^A-^E    Scroll the next window up one line.
  190.     ^A-^Y    Scroll the next window down one line.
  191.     (The previous four commands are useful when comparing two buffers.
  192.      Mnemonic -- think of them as affecting the "A"lternate window.)
  193.  
  194.     zH zM zL  These are synonyms for vi's 'z+', 'z.', and 'z-', which 
  195.         position the line holding the cursor at the top, middle, or
  196.         bottom of the screen, respectively.
  197.  
  198.     ^X-^R    Scroll the window right by 1/3 of a screen, or by the
  199.         number of lines specifed.
  200.     ^X-^L    Scroll the window left by 1/3 of a screen, or by the
  201.         number of lines specifed.
  202.  
  203.     If for some reason you can't get your screen set right via a
  204.     TERM variable, try the ":screen-rows" or ":screen-columns"
  205.     commands (which take their args (number of rows or columns
  206.     respectively) before you type the ":").
  207.  
  208. File manipulation commands:  
  209. ---------------------------
  210.     The usual :e, :r, :f, :w commands are available, though only
  211.     ":e!" is available of the "!" options.  The :r command reads the
  212.     named file in after the current line.  To read a file before the
  213.     first line, use ":0r".
  214.     
  215.     As in vi, ranges of lines specified by line numbers (including '.',
  216.     '$', and '%' shorthands) or marks may precede these commands.  
  217.     Unlike vi, search patterns cannot be used as line specifiers.
  218.  
  219.     In addition, two non-"colon" commands have been added:
  220.  
  221.     ^R    Prompts for a filename, and then reads it in _above_ the
  222.         current line.  If a register is specified (e.g. "a^R ), 
  223.         the file is read into that named register, but not inserted 
  224.         into the current buffer.
  225.  
  226.     ^W    is a writing operator, which prompts for a filename, and 
  227.         writes the specified region to that file.  Like all operators,
  228.         it the command is repeated, as in ^W^W, then lines are 
  229.         affected.  Use 10^W^W to write 10 lines.
  230.  
  231.         If a register is specified (e.g. "a^W ) then the command 
  232.         is _not_ an operator, but writes the specified register to 
  233.         the named file.  
  234.  
  235. Shell Access
  236. ------------
  237.     Anywhere a filename is valid, a command name is also
  238.     valid, entered in the form "!shell-command".  The whole line is
  239.     handed to the shell, and the read or write operation is done on
  240.     the commands standard input or output, as appropriate.  Thus
  241.     you can type ":e !date" to edit a copy of today's date.
  242.  
  243.     The ": !cmd" shell escape works pretty much as it does in vi.
  244.     The command ":!!" will rerun the previous such shell command.
  245.  
  246.     The '!' operator works as expected.
  247.     
  248.     In addition, the ^X-! command runs a shell command and captures
  249.     its output in a specific buffer, called "[Output]".  This is
  250.     almost identical to ":e !cmd", except that in that case the buffer
  251.     is named according to the command name.
  252.  
  253.     These output capture commands are most useful in conjunction with
  254.     the "error finder", described below.
  255.  
  256.     On systems supporting job control, ^Z will suspend vile.
  257.  
  258. Text manipulation command:
  259. --------------------------
  260.     Remember, these are only the new or different commands.  The 
  261.     standard vi set should still work.
  262.  
  263.     Undo ("u") and line-undo ("U") are available for all commands.
  264.     They should be a little less capricious than their
  265.     vi counterparts, since they do not share the default yank register
  266.     for their operation.  Also, line-undo ("U") is available until
  267.     the next change anywhere in the file, rather than until you leave
  268.     the line.  Unfortunately, the cursor position after an undo may not 
  269.     always be the same as it would be in vi.
  270.  
  271.     The vi "global" command is present, in its non-interactive form
  272.     only.  So is the "substitute" command.  These both look pretty
  273.     different while they're being used than they do in vi, and since
  274.     the searching is done right after the pattern is entered, there
  275.     can be a long delay while you're trying to finish typing your
  276.     complete command.  You can type commands just as you would have
  277.     in vi, i.e. ":g/oldpat/s//newstring/" will work.  But you won't
  278.     see any of the '/' characters.  Try it-- you'll get the idea.
  279.     Line ranges are not possible on ":g", but they are on ":s".
  280.  
  281.     The ":v" counterpart to ":g" is not implemented.
  282.  
  283.     The ":g" command can be followed by any of l (list), p (print),
  284.     < (left shift), > (right shift), r (read file), d (delete),
  285.     L (lower case), U (upper case), ~ (flip case), put (append
  286.     yanked text), Put (prepend yanked text), s (substitute),
  287.     t (trim trailing whitespace).  For example, ":g/pattern/Put"
  288.     will insert the contents of the default yank register just
  289.     above every line containing "pattern". 
  290.  
  291.     Operators
  292.     ---------
  293.     Vi has a class of commands known as "operators".  Operator
  294.     commands are always immediately followed by a motion command. 
  295.     The text affected by an operator is bounded by the initial
  296.     position, and the cursor position after the motion is
  297.     completed.  Thus the delete operator ('d') can be followed by
  298.     the word motion command ('w'), causing the next word to be
  299.     deleted.  The sequence "dG" will delete through the end of the
  300.     file, and "d/junk" will delete to the next occurence of the
  301.     string "junk".  Operators can all be "stuttered" to affect
  302.     lines.  Thus "dd" deletes one line, "4dd" affects 4 lines,
  303.     etc. 
  304.  
  305.     Some operators in vile can be forced to affect whole lines,
  306.     though the motion wouldn't normally imply it, by using the ^X
  307.     form of the command.  For example, "d%" (assuming you are on a
  308.     curly brace) will delete a C-style block of code.  "^X-d%"
  309.     will delete that same area, plus anything else on the lines
  310.     containing the curly- brace endpoints.
  311.  
  312.     Note that some operators always affect whole lines, no matter
  313.     how the motion is specified.  For instance, "!w" will always
  314.     filter an entire line, and not just a single word. 
  315.  
  316.     There are several new operator commands:
  317.  
  318.     ^A-~    Is the operator form of the '~' command, so "^A-~~"
  319.         changes the case of all characters on the current
  320.         line, "^A-~w" does it to a word, "3^A-~}" does it for
  321.         3 paragraphs, etc. 
  322.     ^A-u    Like ^A-~, but converts the region to upper case.
  323.     ^A-l    Like ^A-~, but converts the region to lower case.
  324.  
  325.     ^A-f    Format the region based on the current fill column.  The
  326.                 initial indentation of both the first and second lines
  327.                 of the region are preserved, and all subsequent lines
  328.                 get the second line's indentation.  This makes indented/
  329.         outdented paragraphs work correctly.  The usual use of
  330.                 this command is "^A-f}", which does it to the current
  331.                 paragraph.  (This is intentionally _not_ the same bevavior
  332.         obtained by "!fmt", since that behavior is obviously 
  333.         available elsewhere.)
  334.  
  335.     ^X-d    Delete the region, including the lines it starts and ends on.
  336.     ^X-c    Change the region, including the lines it starts and ends on.
  337.     ^X-y    Yank the region, including the lines it starts and ends on.
  338.  
  339.     Text insertion
  340.     --------------
  341.     ^X-p    Causes the previously yanked or deleted text, no matter
  342.         how it was obtained, to be inserted after the current line.
  343.         Usually text that did not consist of whole lines where it
  344.         came from is inserted immediately following the cursor.
  345.     ^X-P    As above, but the text is put before the current line.
  346.         Thus "dw" followed by a "p" command does a normal insertion
  347.         of the deleted word, whereas "^X-p" results in the word
  348.         being inserted on a line by itself.
  349.  
  350.     Searching
  351.     ---------
  352.     ^X-/    Does a forward search for the "word" located under the
  353.         cursor.
  354.     ^X-?    Does a reverse search for the "word" located under the
  355.         cursor.
  356.     ^A-/    Does not do a search, but sets the search pattern to the
  357.         "word" under the cursor.  Useful for "picking up" a word
  358.         from one buffer, and searching for it in another.
  359.  
  360.     The following two commands may not always be present in vile,
  361.         depeinding on how it was built:
  362.     ^X-S    Incremental forward searching.  As you enter the search 
  363.         string, the cursor is advanced to the next match with 
  364.         what you've typed so far.  Use ^F and ^R to continue the
  365.         search forward or in reverse, using the current pattern.
  366.     ^X-R    As above, but in reverse.
  367.  
  368.     Tags
  369.     ----
  370.     Vile supports vi-style "tags" files.
  371.  
  372.     ":ta" or ":tag" allows you to enter a tagname to locate.  Changes
  373.         to that file and location.
  374.     ^]    Uses the identifier currently under the cursor as the 
  375.         tagname.
  376.     ^X-^]    "Un-tag" - pops to the file and location just previous to 
  377.         the last tag command.  (Some versions of vi have this command
  378.         attached to ^T)
  379.  
  380.     When one of these commands is used, vile will look for a file named
  381.     "tags" in the current directory, and load it into a hidden buffer
  382.     for use during tag searches.  This buffer is editable if you wish
  383.     (":e tags"), but will not appear in the buffer lists.  If a buffer
  384.     named "tags" is already available when a tag is first requested, it
  385.     will be used instead of a file called "tags", and of course will
  386.     remain visible.
  387.  
  388.     "Advanced" editing
  389.     ------------------
  390.     [ Eventually, these will be rewritten to become "operators", similar to
  391.     those described above. ]
  392.     ^A-<SPACE>    Convert tabs to spaces on the current line. An argument
  393.         tells how many lines.
  394.     ^A-<TAB>    Convert as many spaces to tabs as possible on the 
  395.         current line.  Argument tells how many lines.
  396.     ^A-o    Remove all but one blank line at the current spot.
  397.  
  398. Miscellaneous commands
  399. ----------------------
  400.     ^X-^X    The "error finder".  Goes to the next file/line error pair 
  401.         specified in the last buffer captured from a command's
  402.         output.  This buffer is usually created with the ^X-! command.
  403.         For example, "-!cc -c junk.c" puts all of the compiler output
  404.         into the buffer named "[Output]".  Repeatedly hitting ^X-^X 
  405.         will position the editor at each error in turn, and will
  406.         eventually start over again at the top..
  407.     ^X-t    Set or report on the tab-stop width.  Tab-stops may only be
  408.         set to 2, 4, 8, or 16 column spacings.  To set, the spacing
  409.         must precede the command, as in "4^X-t". The "set tabstop" 
  410.         command described below does the same thing.
  411.     ^X-f    Set the fill-column to be used with ^A-f and auto-wrap mode on
  412.         insert.  The default value is 7/8's of the screen size, with
  413.         a maximum of 70.  Since arguments come before commands, you
  414.         type: 65^X-f.  The "set fillcol" command does the same thing.
  415.     ^X-x    Set encryption key. (not well tested, but hopefully not broken)
  416.         The CRYPT mode must be set for this to do anything.
  417.     K    Count prefix.  The first time you type it, it is equivalent
  418.         to an argument of 4 to the following command.  If you repeat 
  419.         it, it becomes worth 16, the next time 64, etc...  
  420.  
  421. Editor modes
  422. ------------
  423.     Modes are associated with buffers, and are inherited from a set of
  424.     global modes.  To set a mode on a buffer, use ":set", to remove the
  425.     mode, use ":unset", ":setno", or ":set" with the modename prefixed
  426.     with "no".  To set and reset global modes, use ":setg", ":unsetg",
  427.     ":setgno".  To display modes, use ":setall", ":modes", or
  428.     ":setgall", ":gmodes".  (The modename "all" is also accepted as a
  429.     dummy mode, which sets nothing, but display instead.  So vi's "set all"
  430.     works as well.)  The possible modes are:
  431.  
  432.     wrap    similar to vi's auto-wrap mode.  While inserting, words are
  433.         moved to the next line if the current line gets too long.
  434.         Unlike vi, wrapping is only attempted when a space is typed.
  435.  
  436.     cmode    C-code mode..  Maintains current indentation level
  437.         automatically during insert.  If a line ends with a '{',
  438.         then the next line tabs in further.  If a line begins with
  439.         a '}', it is lined up with its matching paired brace.  If a
  440.         line starts with '#' it is started at the beginning of
  441.         line.  If the global CMODE is set, then the buffer's mode
  442.         is turned on automatically only for files ending in ".c" or
  443.         ".h".  A common mistake is to put "set cmode" in a .vilerc
  444.         file.  One almost always wants "setg cmode".
  445.  
  446.     swrap    Scanwrap mode.  Text searches will continue from past the
  447.         bottom of the file to the top, and vice-versa.
  448.  
  449.     exact    Text searches must match the pattern exactly.  Otherwise,
  450.         searches are case-insensitive.
  451.  
  452.     view    View the file only.  No changes are permitted.  This is set
  453.         automatically for the output of shell commands. 
  454.  
  455.     magic    Allow meta-characters in search strings.  Otherwise,
  456.         strings are taken literally.  Meta characters available are:
  457.         ^ - matches beginning of line
  458.         $ - matches end of line
  459.         . - matches any single character
  460.         * - matches any number of the previous character
  461.         [...] - matches a character class
  462.         \ - take the next character literally
  463.  
  464.     asave    Automatic file saving.  Writes the file after every 256 
  465.         characters of inserted text.  Other file changes are not 
  466.         counted.
  467.  
  468.     crypt    Causes files to be encrypted.  This is NOT compatible
  469.         with the UNIX crypt(1) routines.
  470.  
  471.     list    The buffer will be displayed with tabs and newlines made
  472.         visible, instead of as whitespace.
  473.  
  474.     dos    When writing the buffer, terminate lines with CR/LF pairs,
  475.                 rather than the usual single LF.  On input, if the global
  476.         DOS mode is set, then incoming CR/LF pairs are taken as
  477.         line terminators, and the local DOS mode is set on the
  478.         buffer if the majority of lines ended that way.  If global
  479.         DOS mode is _not_ set, then incoming CR characters will be
  480.         visible on the screen. 
  481.  
  482.     aindent Similar to C mode, above, but works for any buffer, and is
  483.         not sensitive to {, }, or #.  Attempts to align new lines
  484.         of text with previous lines.
  485.  
  486.     lazy    If an attempt is made to edit a file (with ":e filename")
  487.         which does not exist in the current directory, vile will
  488.         try looking for a file of the same name (but in a different
  489.         directory) which has been referenced in the tags file. 
  490.         This mode is global to the editor, and is not "inherited"
  491.         by buffers.  It's not very fast, either.
  492.  
  493.     tabstop Will prompt for a new value for spacing of tabstops.  The
  494.         only supported values are 2, 4, 8, and 16.  This value is,
  495.         unfortunately, not settable on a per-buffer basis. 
  496.  
  497.     fillcol Will prompt for a new value for the fill column, where
  498.         auto-wrapping and region formatting will break lines.  This
  499.         value is, unfortunately, not settable on a per-buffer
  500.         basis. 
  501.  
  502. Special Character Expansion
  503. ---------------------------
  504.  
  505.     As in vi, the % and # characters typed while responding to a prompt
  506.     will expand to the current or "alternate" filename.  In addition,
  507.     the colon character (":") expands to the identifier name under the
  508.     cursor.  Expansion of ! to the last command run is not implemented.
  509.  
  510. Key Rebinding
  511. -------------
  512.  
  513.     The vi "map", "map!", and "abbr" commands are not currently supported.
  514.  
  515.     There is a key rebinding facility (if vile is built to include it),
  516.     which is invoked as follows.  One must know the "english" name for the
  517.     command being rebound.  Use ":describe-bindings" or ":apropos string"
  518.     to find englishnames containing "string".  Then use the command:
  519.         ":bind-key englishname keyseq"
  520.     where keyseq is the exact keyboard sequence (i.e. single character,
  521.     or ^X or ^A followed by a single character) to which the
  522.     command should be bound.  In a ".vilerc" file, keyseq should be the
  523.     printable representation of the sequence, e.g. M-a or ^X-S.
  524.  
  525.     Examples:
  526.      To cause the / and ? commands to perform incremental
  527.       searches, use:
  528.         bind-key incremental-search /
  529.         bind-key reverse-incremental-search ?
  530.      To change the default window-switching behavior of ^N and ^P, try
  531.         bind-key next-line ^N
  532.         bind-key previous-line ^P
  533.      To cause the space bar to move forward by pages, as in them "more"
  534.       command, use:
  535.         bind-key next-page <sp>
  536.  
  537.     (Space and tab can be represented with the strings: "<sp>" and 
  538.     "<tab>".)  The englishname "rebind-key" is synonymous with "bind-key".
  539.  
  540.     Note that even the ^A and ^X prefix characters can be rebound, using
  541.     the dummy functions "cntl_a-prefix" and "cntl_x-prefix".  Even
  542.     if they are rebound, however, the binding list and bind-key
  543.     commands will refer to them as ^A and ^X.
  544.  
  545. Macros
  546. ------
  547.  
  548.     The first type of macro in vile, is for temporary, quick macro
  549.     usage, and lets you record a macro as you execute vile commands.
  550.     You can then replay those keystrokes with a single key. 
  551.  
  552.     ^X-(    Begin recording a keyboard macro.  The keystrokes you type
  553.         are recorded, until you use ^X-).
  554.     ^X-)    Finish recording a keyboard macro.
  555.     ^X-&    Execute the keyboard macro.
  556.  
  557.     Vile can also be extended (though I confess this has only been
  558.     lightly used or tested) by defining macros and then binding
  559.     execution of those macros to key sequences.  For example, if
  560.     the following lines appear in a .vilerc file:
  561.  
  562.         1 store-macro
  563.         5 delete-til next-word
  564.         endm
  565.  
  566.         bind-key execute-macro-1 M-1
  567.  
  568.     then when M-1 is executed, 5 words will be deleted.  The "-til"
  569.     suffix on an englishname denotes that it is a vi operator style
  570.     command, and expects to be followed by a motion command.
  571.  
  572. Differences
  573. ------------
  574.     Of course, this really isn't vi.  Some of the following differences
  575.     deserve changing, others do not.
  576.  
  577.     The parser for the ':' commands is not very vi-like.  For instance,
  578.     ":e" will prompt you for a file name.  Most commands remember their
  579.     last argument, and will present it as the default reply to their
  580.     prompt. 
  581.  
  582.     The backspace, line kill, job control, etc. characters are not
  583.     taken from the terminal settings on startup, but are hard-coded.
  584.     The insert-mode command characters cannot even be rebound.
  585.  
  586.     In insert mode there is no word kill (^W) or line kill (^U or @).
  587.  
  588.     Repeated backspacing while in insert mode will move past the point
  589.     where the insert began, until the beginning of line is reached.
  590.  
  591.     There is no expansion of ! in filenames or shell escapes.  The
  592.     command ":!!" does rerun the previous shell command.  Occurences of
  593.     '#' and '%' are recognized and expanded to the previous or current
  594.     filename.  Other punctuation (e.g.  '~') may be expanded by your
  595.     shell (sh, csh), since it is handed filenames for expansion if they
  596.     contain any of these characters: * ? ~ [ ] $ { }
  597.  
  598.     Paragraph and section boundaries, for the {, }, [, and ] commands
  599.     are not configurable, and do not exactly match those in vi.  The
  600.     current set is:
  601.       Paragraphs: blank lines, or lines beginning in .I .L .P .Q or .b
  602.       Sections: lines beginning in {, formfeeds, or .S .H .N
  603.     I think these will find more boundaries than vi, rather than fewer.
  604.  
  605.     There is no special lisp support.  But then, when was the last time
  606.     you heard of a lisp programmer that used vi?
  607.  
  608.     Of course, ex and open mode aren't there.
  609.  
  610.     There is no concept of shiftwidth.  ^D and ^T are aliased to backspace
  611.     and tab for those whose fingers are too old for new tricks.
  612.  
  613.     There are no "sentence" oriented motions. That is, "(" and ")" are
  614.     missing.
  615.  
  616.     Most, but not all, of the word-motion-with-operator and end-of-line 
  617.     anomalies have been recreated.  One missing anomaly: In vile, "dw"
  618.     on the last word of a line ending in whitespace deletes the
  619.     trailing whitespace.  Vi does not delete the whitespace. 
  620.  
  621. Credits
  622. -------
  623.     This code has been written by a _lot_ of people.  Names appearing
  624.     within comments in the micro-Emacs source code are: Dave
  625.     Conroy, Daniel Lawrence, John Gamble, Roger Ove, Dana Hoggatt,
  626.     Jon Reid, Steve Wilhite, George Jones, Adam Fritz, D.R.Banks,
  627.     Bob McNamara.  In addition, some of the "ex" code is by Steve
  628.     Kirkendall, author of the vi clone called "elvis".  The
  629.     changes to create vile from micro-Emacs were all done by Paul
  630.     Fox, who can be reached at pgf@cayman.com.   (By the way, this is
  631.     not the same Paul Fox who did the Crisp editor.)
  632.  
  633.  
  634.