Enable focus events through configuration by using focus (option) and on-ui-enter/on-ui-exit events.
This commit is contained in:
6 files changed
+93
-9
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user