Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

plugins.yazi.settings.hooks.yazi_closed_successfully

When yazi was successfully closed

Type: null or lua function string

Default: null

Plugin default:

lib.nixvim.mkRaw ''
  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:

lib.nixvim.mkRaw ''
  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:

lib.nixvim.mkRaw ''
  function(chosen_files)
    vim.cmd("args" .. table.concat(chosen_files, " "))
  end
''

Declared by: