Add on-load command (#2010)
This commit is contained in:
1 parent
b76d2546e1
commit
ff0c7f1c96
6 files changed
+47
-3
No files matched your search
@@ -1,6 +1,6 @@
|
||||
.\" Automatically generated by Pandoc 2.11.4
|
||||
.\"
|
||||
.TH "LF" "1" "2025-05-12" "" "DOCUMENTATION"
|
||||
.TH "LF" "1" "2025-06-19" "r35-23-gef2fb79" "DOCUMENTATION"
|
||||
.hy
|
||||
.SH NAME
|
||||
.PP
|
||||
@@ -255,6 +255,7 @@ rename
|
||||
delete
|
||||
pre-cd
|
||||
on-cd
|
||||
on-load
|
||||
on-focus-gained
|
||||
on-focus-lost
|
||||
on-init
|
||||
@@ -1266,6 +1267,11 @@ directory.
|
||||
.PP
|
||||
This shell command can be defined to be executed after changing a
|
||||
directory.
|
||||
.SS on-load
|
||||
.PP
|
||||
This shell command can be defined to be executed after loading a
|
||||
directory.
|
||||
It provides the files inside the directory as arguments.
|
||||
.SS on-focus-gained
|
||||
.PP
|
||||
This shell command can be defined to be executed when the terminal gains
|
||||
@@ -2194,6 +2200,8 @@ causes flickers and pauses respectively.
|
||||
.PP
|
||||
There is also a \f[C]pre-cd\f[R] command, that works like
|
||||
\f[C]on-cd\f[R], but is run before the directory is actually changed.
|
||||
Another related command is \f[C]on-load\f[R] which gets executed when
|
||||
loading a directory.
|
||||
.SH COLORS
|
||||
.PP
|
||||
lf tries to automatically adapt its colors to the environment.
|
||||
|
||||
Reference in new issue
Block a user