Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gokcehan committed Aug 29, 2018
1 parent 5e67147 commit 629a7f3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
8 changes: 6 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ The following options can be used to customize the behavior of lf:
reverse boolean (default off)
smartcase boolean (default on)
wrapscan boolean (default on)
findlen integer (default 1)
period integer (default 0)
findlen integer (default 1) (zero to prompt until single match)
period integer (default 0) (zero to disable periodic loading)
scrolloff integer (default 0)
tabstop integer (default 8)
filesep string (default "\n")
Expand All @@ -126,6 +126,10 @@ The following variables are exported for shell commands:
$fx current file or selected file(s) if any
$id id number of the client
The following variables are set to the corresponding values:
$LF_LEVEL current nesting level
The following default values are set to the environmental variables on unix
when they are not set or empty:
Expand Down
8 changes: 6 additions & 2 deletions docstring.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions lf.1
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ The following options can be used to customize the behavior of lf:
reverse boolean (default off)
smartcase boolean (default on)
wrapscan boolean (default on)
findlen integer (default 1)
period integer (default 0)
findlen integer (default 1) (zero to prompt until single match)
period integer (default 0) (zero to disable periodic loading)
scrolloff integer (default 0)
tabstop integer (default 8)
filesep string (default "\en")
Expand All @@ -144,6 +144,12 @@ The following variables are exported for shell commands:
$id id number of the client
.EE
.PP
The following variables are set to the corresponding values:
.PP
.EX
$LF_LEVEL current nesting level
.EE
.PP
The following default values are set to the environmental variables on unix when they are not set or empty:
.PP
.EX
Expand Down

0 comments on commit 629a7f3

Please sign in to comment.