Export mode for use in scripting keybindings (#1594)
* Export mode * Add pipe mode * Add documentation
This commit is contained in:
1 parent
ab54329570
commit
cf996263bb
5 files changed
+64
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
.\" Automatically generated by Pandoc 2.11.4
|
||||
.\"
|
||||
.TH "LF" "1" "2024-01-18" "" "DOCUMENTATION"
|
||||
.TH "LF" "1" "2024-02-02" "" "DOCUMENTATION"
|
||||
.hy
|
||||
.SH NAME
|
||||
.PP
|
||||
@@ -236,6 +236,7 @@ lf_user_{option}
|
||||
lf_width
|
||||
lf_height
|
||||
lf_count
|
||||
lf_mode
|
||||
\f[R]
|
||||
.fi
|
||||
.PP
|
||||
@@ -1216,6 +1217,15 @@ Width/Height of the terminal.
|
||||
.SS lf_count
|
||||
.PP
|
||||
Value of the count associated with the current command.
|
||||
.SS lf_mode
|
||||
.PP
|
||||
Current mode that \f[C]lf\f[R] is operating in.
|
||||
This is useful for customizing keybindings depending on what the current
|
||||
mode is.
|
||||
Possible values are \f[C]delete\f[R], \f[C]rename\f[R],
|
||||
\f[C]filter\f[R], \f[C]find\f[R], \f[C]mark\f[R], \f[C]search\f[R],
|
||||
\f[C]command\f[R], \f[C]shell\f[R], \f[C]pipe\f[R] (when running a
|
||||
shell-pipe command), \f[C]normal\f[R], and \f[C]unknown\f[R].
|
||||
.SH SPECIAL COMMANDS
|
||||
.PP
|
||||
This section shows information about special shell commands.
|
||||
|
||||
Reference in new issue
Block a user