-
Add the following line in
~/.config/xplr/init.lua
local home = os.getenv("HOME") package.path = home .. "/.config/xplr/plugins/?/init.lua;" .. home .. "/.config/xplr/plugins/?.lua;" .. package.path
-
Clone the plugin
mkdir -p ~/.config/xplr/plugins git clone https://github.com/sayanarijit/dua-cli.xplr ~/.config/xplr/plugins/dua-cli
-
Require the module in
~/.config/xplr/init.lua
require("dua-cli").setup() -- Or require("dua-cli").setup{ mode = "action", key = "D", } -- Type `:D` to spawn dua-cli in $PWD
- The paths selected for deletion, but not deleted, will be sent to the xplr selection list.