Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Jan 12, 2021
1 parent fdcc06c commit b09a0c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS.VER
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

* Multiple + or -p command line options are handled better.

* Add the --incsearch option.

* Add the --line-num-width option.

* Add the --status-col-width option.
Expand Down
2 changes: 2 additions & 0 deletions less.hlp
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@
Set horizontal scroll amount (0 = one half screen width).
--follow-name
The F command changes files if the input file is renamed.
--incsearch
Search file as each pattern character is typed in.
--line-num-width=N
Set the width of the -N line number field to N characters.
--mouse
Expand Down
5 changes: 5 additions & 0 deletions less.nro.VER
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,11 @@ If the reopen succeeds and the file is a different file from the original
with the same name as the original (now renamed) file),
.I less
will display the contents of that new file.
.IP "\-\-incsearch"
Subsequent search commands will be "incremental"; that is,
.I less
will advance to the next line containing the search pattern
as each character of the pattern is typed in.
.IP "\-\-line-num-width"
Sets the minimum width of the line number field when the \-N option is in effect.
The default is 7 characters.
Expand Down

0 comments on commit b09a0c4

Please sign in to comment.