Skip to content
/ rolf Public

Ranger-like file manager. Based primarily on lf, but not nearly as good.

License

Notifications You must be signed in to change notification settings

Superchig/rolf

Repository files navigation

Rolf

Demo with image

This is definitely a work in progress. Use at your own risk.

rolf is a terminal file manager written in Rust. It is mostly inspired by lf, but it is far worse.

Release Notes: 5/16/2022

Additional Features

  • File selection (by default mapped to the space key)
    • Press the space key (by default) to mark a file as selected, automatically moving the cursor to the next file.
    • Files will remain selected even if you change directories, allowing you to have files from multiple directories selected at once.
    • Edit the selected files with text editor via the 'edit-sels' command.
  • File deletion (by default mapped to 'd')
    • This will prompt the user to confirm that they really want to delete the file(s).
    • If no files have been selected, this will delete the current file.
    • If files have been selected, this will delete the currently selected files.

Known Bugs

  • There is a slight amount of flickering when using the 'rename' command.
  • The program may crash with really small windows.

TODOs

  • Render three panels
  • Support super-basic hjkl movement
  • Allow key rebindings
  • Use highlight for text file highlighting
  • Make highlight an optional dependency.
  • Implement part of command-line
    • Implement some basic GNU readline keybindings
  • EXPERIMENTAL: Display image previews on kitty
    • Display images asynchronously
    • Show image thumbnail for videos
    • Allow a configurable external program to be used to obtain preview images for (non-image) files
  • Make symlinks actually usable
  • Fix compiler warnings on latest version of Rust stable
  • Search backwards and forwards
  • Display directory preview asynchronously
  • Preview text (source) files asynchronously
  • Build successfully on Windows at all
  • Display images successfully on Windows (with capable terminal)

Long-term TODO (May Never Happen)

  • Add Windows support
  • Implement our own png and jpeg decoders
  • Use the kitty protocol (and possibly other terminal image protocols) directly for image previews

About

Ranger-like file manager. Based primarily on lf, but not nearly as good.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages