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

programs.xplr.enable

Whether to enable xplr, terminal UI based file explorer.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.xplr.package

The xplr package to use.

Type: null or package

Default:

pkgs.xplr

Declared by:

programs.xplr.extraConfig

Extra xplr configuration.

Type: strings concatenated with “\n”

Default:

""

Example:

require("wl-clipboard").setup {
  copy_command = "wl-copy -t text/uri-list",
  paste_command = "wl-paste",
  keep_selection = true,
}

Declared by:

programs.xplr.plugins

An attribute set of plugin paths to be added to the [package.path]https://www.lua.org/manual/5.4/manual.html#pdf-package.path of the ~/config/xplr/init.lua configuration file.

Must be a package or string representing the plugin directory’s path. If the path string is not absolute, it will be relative to $XDG_CONFIG_HOME/xplr/init.lua.

Type: null or (attribute set of (package or string))

Default:

{ }

Example:

{
  wl-clipboard = fetchFromGitHub {
    owner = "sayanarijit";
    repo = "wl-clipboard.xplr";
    rev = "a3ffc87460c5c7f560bffea689487ae14b36d9c3";
    hash = "sha256-I4rh5Zks9hiXozBiPDuRdHwW5I7ppzEpQNtirY0Lcks=";
  }
  local-plugin = "/home/user/.config/plugins/local-plugin";
};

Declared by: