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

+14
View File
@@ -212,6 +212,8 @@ when defined:
pre-cd
on-cd
on-select
on-ui-enter
on-ui-exit
on-quit
The following commands/keybindings are provided by default:
@@ -1202,6 +1204,18 @@ 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.