mirror of https://github.com/sayanarijit/xplr
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.2 KiB
Markdown
54 lines
1.2 KiB
Markdown
An experimental, minimal, configurable TUI file explorer, stealing ideas from [`nnn`](https://github.com/jarun/nnn) and [`fzf`](https://github.com/junegunn/fzf).
|
|
|
|
![Screenshot](https://user-images.githubusercontent.com/11632726/109526906-1b555080-7ad9-11eb-9fd7-03e092220618.gif)
|
|
|
|
|
|
Example usage:
|
|
--------------
|
|
|
|
```bash
|
|
# Edit file
|
|
vim $(xplr)
|
|
|
|
# Copy file(s)
|
|
cp $(xplr) $(xplr)
|
|
|
|
# Search and move file
|
|
mv $(fzf) $(xplr)
|
|
```
|
|
|
|
|
|
Let's brainstorm
|
|
----------------
|
|
|
|
You can also experiment and help by suggesting ideas/opinions.
|
|
|
|
1. Install
|
|
|
|
```bash
|
|
cargo install xplr
|
|
```
|
|
|
|
2. Create the customizable config file (requires [`yq`](https://github.com/mikefarah/yq))
|
|
|
|
```bash
|
|
mkdir -p ~/.config/xplr
|
|
|
|
echo "?" | xplr | yq ".config" -y | tee ~/.config/xplr/config.yml
|
|
```
|
|
|
|
3. Check the key bindings in the config file.
|
|
|
|
4. Run `xplr`.
|
|
|
|
|
|
TODO research
|
|
-------------
|
|
|
|
- [ ] Research FIFO/socket options for better integration with other tools.
|
|
- [ ] Research saner configuration formats.
|
|
- [ ] Research saner key binding options.
|
|
- [ ] Research how to go beyond filesystem and explore any tree-like structure.
|
|
- [ ] CLI options and help menu.
|
|
- [ ] Go beyond research and implement things.
|