Enable focus events through configuration by using focus (option) and on-ui-enter/on-ui-exit events.

This commit is contained in:
Christian Zangl committed 2023-09-21 21:39:05 +02:00
1 parent c8163439f5
commit 77f113639f
6 files changed
+93 -9

No files matched your search

+10
View File
@@ -208,6 +208,8 @@ The following special shell commands are used to customize the behavior of lf wh
pre-cd
on-cd
on-select
on-ui-enter
on-ui-exit
on-quit
The following commands/keybindings are provided by default:
@@ -1110,6 +1112,14 @@ This shell command can be defined to be executed after changing a directory.
This shell command can be defined to be executed after the selection changes.
on-ui-enter
This shell command can be defined to be executed when the UI of lf becomes active. This will be triggered after lf starts and when foreground shell commands finish.
on-ui-exit
This shell command can be defined to be executed when the UI of lf becomes inactive. This will be triggered before lf exits and before starting foreground shell commands.
on-quit
This shell command can be defined to be executed before quit.