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
- Host: GitHub
- URL: https://github.com/sayanarijit/dua-cli.xplr
- Owner: sayanarijit
- License: mit
- Created: 2021-06-24T04:54:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-19T11:36:37.000Z (over 3 years ago)
- Last Synced: 2025-03-19T06:04:55.991Z (7 months ago)
- Language: Lua
- Homepage: https://xplr.dev
- Size: 3.91 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](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/pluginsgit 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.