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
- Change nav.selections type from HashMap to BTreeMap
- 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.
- 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)
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.
Like suckless software, modify the src/config.rs
and then rebuild it.
See src/config.rs
or maybe all source files.
You can modify script/preview
and script/open
files to change the behavior of preview and open as you like.
Below are some defalut script/preview
dependencies.
lynx
html filesbat
color highlight for text fileschafa
image filesmediainfo
audio filesffmpegthumbnailer
video to imageatool
zip files
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
MIT