All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jline.builtins.less-help.txt Maven / Gradle / Ivy

There is a newer version: 3.26.3
Show newest version

                   SUMMARY OF LESS 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  H                 Display this help.
  q  :q  Q  :Q  ZZ     Exit.
 ---------------------------------------------------------------------------

                           MOVING

  e  ^E  j  ^N  CR  *  Forward  one line   (or N lines).
  y  ^Y  k  ^K  ^P  *  Backward one line   (or N lines).
  f  ^F  ^V  SPACE  *  Forward  one window (or N lines).
  b  ^B  ESC-v      *  Backward one window (or N lines).
  z                 *  Forward  one window (and set window to N).
  w                 *  Backward one window (and set window to N).
  ESC-SPACE         *  Forward  one window, but don't stop at end-of-file.
  d  ^D             *  Forward  one half-window (and set half-window to N).
  u  ^U             *  Backward one half-window (and set half-window to N).
  ESC-)  RightArrow *  Left  one half screen width (or N positions).
  ESC-(  LeftArrow  *  Right one half screen width (or N positions).
  g  <  ESC-<       *  Go to first line in file (or line N).
  G  >  ESC->       *  Go to last line in file (or line N).
        ---------------------------------------------------
        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  N              *  Repeat previous search (for N-th occurrence).
  ESC-n  ESC-N      *  Repeat previous search, spanning files.
  ESC-u                Undo (toggle) search highlighting.
 ---------------------------------------------------------------------------

                        CHANGING FILES

  :n                *  Examine the (N-th) next file from the command line.
  :p                *  Examine the (N-th) previous file from the command line.
 ---------------------------------------------------------------------------

                    MISCELLANEOUS COMMANDS

  -              Toggle a command line option [see OPTIONS below].
  --             Toggle a command line option, by name.
 ---------------------------------------------------------------------------

                           OPTIONS

        Most options may be changed either on the command line,
        or from within less by using the - or -- command.
        Options may be given in one of two forms: either a single
        character preceded by a -, or a name preceded by --.

  -?  ........  --help
                  Display help (from command line).
  -e  ........  --quit-at-eof  
                  Quit at second end of file.
  -E  ........  --QUIT-AT-EOF
                  Quit at end of file.
  -i  ........  --ignore-case
                  Ignore case in searches that do not contain uppercase.
  -I  ........  --IGNORE-CASE
                  Ignore case in all searches.
  -N  ........  --LINE-NUMBERS
                  Display line numbers.
  -q  -Q  ....  --quiet  --QUIET  --silent --SILENT
                  Quiet the terminal bell.
  -S  ........  --chop-long-lines
                  Chop (truncate) long lines rather than wrapping.
  -x [N[,...]]  --tabs=[N[,...]]
                  Set tab stops (from command line).




© 2015 - 2025 Weber Informatics LLC | Privacy Policy