plugins.yazi.settings.hooks.yazi_closed_successfully
When yazi was successfully closed
Type: null or lua function string
Default:
null
Plugin default:
{
__raw = ''
function(chosen_file, config, state)
end
'';
}
Declared by:
plugins.yazi.settings.hooks.yazi_opened
If you want to execute a custom action when yazi has been opened, you can define it here.
Type: null or lua function string
Default:
null
Plugin default:
{
__raw = ''
function(preselected_path, yazi_buffer_id, config)
end
'';
}
Declared by:
plugins.yazi.settings.hooks.yazi_opened_multiple_files
When yazi opened multiple files. The default is to send them to the quickfix list, but if you want to change that, you can define it here
Type: null or lua function string
Default:
null
Plugin default:
{
__raw = ''
function(chosen_files)
vim.cmd("args" .. table.concat(chosen_files, " "))
end
'';
}
Declared by: