A hackable, minimal, fast TUI file explorer
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.
 
 
 
Go to file
Arijit Basu 56d63a2316
Move, Copy, Create, Delete
3 years ago
benches Add horizontal movement benchmark tests 3 years ago
src Move, Copy, Create, Delete 3 years ago
tests Easier key handling 3 years ago
.gitignore Not yet doing what it's supposed to 3 years ago
Cargo.lock Move, Copy, Create, Delete 3 years ago
Cargo.toml Move, Copy, Create, Delete 3 years ago
LICENSE Create LICENSE 3 years ago
README.md Minor fixes 3 years ago

README.md

An experimental, minimal, configurable TUI file explorer, stealing ideas from nnn and fzf.

Screenshot

Example usage:

# Edit file
vim "$(xplr)"

# Copy file(s)
cp "$(xplr)" "$(xplr)/"

# Search and move file
mv "$(fzf)" "$(xplr)/"

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.

Let's brainstorm

You can also experiment and help by suggesting ideas/opinions.

  1. Install
cargo install xplr
  1. Create the customizable config file (requires yq)
mkdir -p ~/.config/xplr

xplr | yq ".config" -y | tee ~/.config/xplr/config.yml

# When the app loads, press `#`
  1. Check the key bindings in the config file.

  2. 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.
  • Research ways to make it faster (load and run).
  • Research ways to implement a plugin system.
  • CLI options and help menu.
  • Go beyond research and implement things.