rust-tfm
rust-tfm
is a terminal file manager written in rust heavily inspired by lf and ranger, and also inspired by suckless software.
rust-tfm.mp4
Features
- Asynchronous IO operations to avoid UI blocking
- Customizable keybindings(vi-style by default)
- Extendable and configurable with shell commands
- Using
src/config.rs
to config tfm, like dwm, st, and dmenu.
Non-Features
- Cross-platform, works on linux(tested on Arch and Fedora38) and maybe works on macOS(not tested).
- Tabs or windows (better handled by window manager or terminal multiplexer)
Installation
Currently, you can only install it by cloning this repository and building it on your own.
git clone https://github.com/jiaoshjie/rust-tfm.git
cd rust-tfm
cargo build --release
# or
cargo install --path .
The binary file is tfm
not rust-tfm.
Config
Like suckless software, modify the src/config.rs
and then rebuild it.
Usage
See src/config.rs
or maybe all source files.
Dependencies(Optional)
You can modify script/preview
and script/open
files to change the behavior of preview and open as you like.
Preview
Below are some defalut script/preview
dependencies.
lynx
html filesbat
color highlight for text fileschafa
image filesmediainfo
audio filesffmpegthumbnailer
video to imageatool
zip files
Open
mpv
video and audio filessxiv
image files and arotdir
script which can be found here.display
svg files- Set
$EDITOR
and$BROWSER
env variables for text files and pdf files
License
MIT