
                     SUMMARY OF COMMANDS

      Commands marked with * may be preceded by a number, N.
      Notes in parentheses indicate the behavior if N is given.
      A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.

  h                    Display this help.
  q  :q  ZZ            Exit.
 ---------------------------------------------------------------------------

                           MOVING

  j  CR             *  Forward  one line   (or N lines).
  k                 *  Backward one line   (or N lines).
  f  ^F  SPACE      *  Forward  one window (or N lines).
  b  ^B             *  Backward one window (or N lines).
  d  ^D             *  Forward  one half-window (and set half-window to N).
  u  ^U             *  Backward one half-window (and set half-window to N).
  r  ^L                Repaint screen.
  R                    Repaint screen, discarding buffered input.
  :t                   Go to supplied tag.
        ---------------------------------------------------
        Default "window" is the screen height.
        Default "half-window" is half of the screen height.
 ---------------------------------------------------------------------------

                          SEARCHING

  /pattern          *  Search forward for (N-th) matching line.
  ?pattern          *  Search backward for (N-th) matching line.
  n                 *  Repeat previous search (for N-th occurrence).
  N                    Repeat previous search in reverse direction.
        ---------------------------------------------------
        A search pattern may be preceded by one or more of:
        !        Search for NON-matching lines.
 ---------------------------------------------------------------------------

                           JUMPING

  g                 *  Go to first line in file (or line N).
  G                 *  Go to last line in file (or line N).
        ---------------------------------------------------

  m<letter>            Mark the current position with <letter>.
  '<letter>            Go to a previously marked position.
  ''                   Go to the previous position.
        ---------------------------------------------------
        A mark is any lower-case letter.
 ---------------------------------------------------------------------------

                        CHANGING FILES

  :e [file]            Examine a new file.
  :n                *  Examine the (N-th) next file from the command line.
  :p                *  Examine the (N-th) previous file from the command line.
  =  ^G                Print current file name.
 ---------------------------------------------------------------------------

                    MISCELLANEOUS COMMANDS

  v                    Edit the current file with $VISUAL or vi(1).
 ---------------------------------------------------------------------------

                           OPTIONS

  -c                   Repaint by clearing rather than scrolling.
  -e                   Quit at end of file.
  -i                   Ignore case in searches.
  -n number            Page number of lines per screenful.
  -p command           Execute the specified commands.
  -s                   Squeeze multiple blank lines.
  -t tag               Examine the file containing tag.
  -u                   Change handling of backspaces.

