An open API service indexing awesome lists of open source software.

https://github.com/sayanarijit/dua-cli.xplr

dua-cli integration for xplr
https://github.com/sayanarijit/dua-cli.xplr

Last synced: 2 months ago
JSON representation

dua-cli integration for xplr

Awesome Lists containing this project

README

          

[![xplr-dua.gif](https://s4.gifyu.com/images/xplr-dua.gif)](https://gifyu.com/image/rGze)

## Requirements

- [dua-cli](https://github.com/Byron/dua-cli)

## Installation

### Install manually

- Add the following line in `~/.config/xplr/init.lua`

```lua
local home = os.getenv("HOME")
package.path = home
.. "/.config/xplr/plugins/?/init.lua;"
.. home
.. "/.config/xplr/plugins/?.lua;"
.. package.path
```

- Clone the plugin

```bash
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`

```lua
require("dua-cli").setup()

-- Or

require("dua-cli").setup{
mode = "action",
key = "D",
}

-- Type `:D` to spawn dua-cli in $PWD
```

## Features

- The paths selected for deletion, but not deleted, will be sent to the xplr
selection list.