update doc

cc #614 #770
This commit is contained in:
Gokcehan committed 2022-03-18 23:21:51 +03:00
1 parent 12f0f0da68
commit 076ab8ea9d
3 files changed
+173

No files matched your search

+52
View File
@@ -164,6 +164,16 @@ The following environment variables are exported for shell commands:
SHELL
lf_{option}
The following special shell commands are used to customize the behavior of lf when defined:
open
paste
rename
delete
pre-cd
on-cd
on-quit
The following commands/keybindings are provided by default:
unix windows
@@ -826,6 +836,48 @@ If this variable is set in the environment, use the same value, otherwise set th
Value of the {option}.
Special Commands
open
This shell command can be defined to override the default 'open' command when the current file is not a directory.
(See also 'OPENER' variable and 'Opening Files' section)
paste
This shell command can be defined to override the default 'paste' command.
(See also 'File Operations' section)
rename
This shell command can be defined to override the default 'paste' command.
(See also 'File Operations' section)
delete
This shell command can be defined to override the default 'delete' command.
(See also 'File Operations' section)
pre-cd
This shell command can be defined to be executed before changing a directory.
(See also 'Changing Directory' section)
on-cd
This shell command can be defined to be executed after changing a directory.
(See also 'Changing Directory' section)
on-quit
This shell command can be defined to be executed before quit.
Prefixes
The following command prefixes are used by lf: