File Managers

lf – terminal file manager written in Go

lf (as in “list files”) is an open source terminal file manager written in Go. It is heavily inspired by Ranger with some missing and extra features. Some of the missing features are deliberately omitted since they are better handled by external tools.

lf uses the underlying ‘cp’ and ‘mv’ shell commands for file operations. By default, lf does not provide an actual file deletion command to protect new users. You can define such a command and optionally assign a key.

lf tries to automatically adapt its colors to the environment. The software uses termbox-go for its user interface.

Key Features

  • Single binary without any runtime dependencies (except for terminfo database).
  • Fast startup and low memory footprint (due to native code and static binaries).
  • Server/client architecture to share file selection between multiple instances.
  • Configuration with shell commands.
  • Customizable keybindings (vi and readline defaults).
  • Command prefixes:
    • : read (default) builtin/custom command.
    • $ shell shell command.
    • % shell-pipe shell command running with the ui.
    • ! shell-wait shell command waiting for key press.
    • & shell-async shell command running asynchronously.
    • / search search file in current directory.
    • ? search-back search file in the reverse order.
  • Bind cd commands in the config file which acts like bookmarks.
  • Preview filtering (for source highlight, archives, pdfs/images as text etc). lf previews files on the preview pane by printing the file until the end or the preview pane is filled.
  • Case-insensitive searches.
  • Persistent history using a history file. History file is currently limited to 1,000 commands.
  • Sort by natural, size, and time.
  • Unicode support.

Website: godoc.org/github.com/gokcehan/lf
Support: Tutorial, GitHub Code Repository
Developer: Gokcehan
License: MIT License

lf

lf is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

File Managers
KrusaderAdvanced orthodox file manager for KDE
nnnFast and flexible file manager
DolphinDefault file manager for KDE
Midnight CommanderUser-friendly yet powerful orthodox file manager
Double CommanderFile manager with two panels side by side
RangerConsole file manager with VI key bindings
PCManFM-QtLightweight Qt-based file manager which uses GLib
PCManFMDefault file manager for LXDE
FilesFile browser designed for elementary OS
GNOME FilesSpatial file manager; default file manager for GNOME
lfTerminal file manager written in Go
GNOME CommanderOrthodox file manager for the GNOME desktop environment
SpacedrivePowered by a virtual distributed filesystem
CliFMShell-like, command line terminal file manager
XfeVery similiar to Windows Explorer

Read our verdict in the software roundup.

Console File Managers
nnnFast and flexible file manager
Midnight CommanderUser-friendly yet powerful orthodox file manager
superfileVery fancy and modern terminal file manager
RangerFile manager with an ncurses frontend written in Python
lfTerminal file manager heavily inspired by ranger
YaziFile manager with asynchronous support
CliFMShell-like, command line terminal file manager
joshutoRanger-like file manager
far2lLinux fork of FAR Manager v2
Vifmncurses based file manager with vi like keybindings
fmDouble pane file manager written in Go
felixTUI file manager with Vim-like key mapping
fmanUses Bubbletea, Lipgloss, Bubblezone, stickers, Chroma, and go-arg
FCDContinuation of rnr
projectableTUI file manager built for projects
Last File Manager1 or 2 pane Python based file manager
WCM CommanderA Far Manager clone
TUIFI ManagerTermux-oriented file manager
sffSimple file finder
jafffJust another f* fast file manager
gofulAnother file manager written in Go
rnrCombines the best features of Midnight Commander and Ranger
fffSimple file manager

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments