2021-03-02 08:54:43 +00:00
An experimental, minimal, configurable TUI file explorer, stealing ideas from [`nnn` ](https://github.com/jarun/nnn ) and [`fzf` ](https://github.com/junegunn/fzf ).
2021-03-01 11:23:04 +00:00
2021-03-01 16:02:30 +00:00
![Screenshot ](https://user-images.githubusercontent.com/11632726/109526906-1b555080-7ad9-11eb-9fd7-03e092220618.gif )
Example usage:
--------------
```bash
# Edit file
2021-03-04 08:03:14 +00:00
vim "$(xplr)"
2021-03-01 16:02:30 +00:00
# Copy file(s)
2021-03-04 08:03:14 +00:00
cp "$(xplr)" "$(xplr)/"
2021-03-01 16:02:30 +00:00
# Search and move file
2021-03-04 08:03:14 +00:00
mv "$(fzf)" "$(xplr)/"
2021-03-01 16:02:30 +00:00
```
2021-03-05 14:01:31 +00:00
As of now the fuctionality is pretty limited. You basically have to drop
into a shell (default key `s` ) in the directory to do things like
create/delete/rename files. A lot of research and implementations to go.
Although, it's currently satisfying my needs (for customization and speed)
with this vim plugin https://github.com/sayanarijit/xplr.vim.
2021-03-01 16:02:30 +00:00
Let's brainstorm
----------------
You can also experiment and help by suggesting ideas/opinions.
1. Install
```bash
cargo install xplr
```
2021-03-02 08:54:43 +00:00
2. Create the customizable config file (requires [`yq` ](https://github.com/mikefarah/yq ))
```bash
mkdir -p ~/.config/xplr
2021-03-14 05:24:58 +00:00
echo "#" | xplr | yq ".config" -y | tee ~/.config/xplr/config.yml
2021-03-02 08:54:43 +00:00
```
2021-03-01 16:02:30 +00:00
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.
2021-03-03 11:46:13 +00:00
- [ ] Research ways to make it faster (load and run).
- [ ] Research ways to implement a plugin system.
2021-03-01 16:02:30 +00:00
- [ ] CLI options and help menu.
- [ ] Go beyond research and implement things.