Debian Codegraph @

/

0 files · 0 symbols
README (full)

LF

Doc | Wiki | #lf:matrix.org (with IRC bridge)

Go Build Go Report Card

lf (as in "list files") is a terminal file manager written in Go with a heavy inspiration from ranger file manager. See faq for more information and tutorial for a gentle introduction with screencasts.

icons-and-border image-preview new-features

Features

  • Cross-platform (Linux, macOS, BSDs, Windows)
  • Single binary without any runtime dependencies
  • Fast startup and low memory footprint due to native code and static binaries
  • Asynchronous IO operations to avoid UI locking
  • Server/client architecture and remote commands to manage multiple instances
  • Extendable and configurable with shell commands
  • Customizable keybindings (vi and readline defaults)
  • A reasonable set of other features (see the documentation)

Non-Features

  • Tabs or windows (better handled by window manager or terminal multiplexer)
  • Builtin pager/editor (better handled by your pager/editor of choice)
  • Builtin commands for file operations (better handled by the underlying shell tools including but not limited to mkdir, touch, chmod, chown, chgrp, and ln)

Installation

See packages for community maintained packages.

See releases for pre-built binaries.

Building from the source requires Go.

On Unix:

env CGO_ENABLED=0 go install -trimpath -ldflags="-s -w" github.com/gokcehan/lf@latest

On Windows cmd:

set CGO_ENABLED=0
go install -trimpath -ldflags="-s -w" github.com/gokcehan/lf@latest

On Windows PowerShell:

$env:CGO_ENABLED = '0'
go install -trimpath -ldflags="-s -w" github.com/gokcehan/lf@latest

Usage

After the installation lf command should start the application in the current directory.

Run lf -help to see command line options.

Run lf -doc to see the documentation.

See etc directory to integrate lf to your shell and/or editor. Example configuration files along with example colors and icons files can also be found in this directory.

See integrations to integrate lf to other tools.

See tips for more examples.

Contributing

See contributing for guidelines.

dir .github/
dir debian/
dir etc/
dir gen/
file .gitignore
file .golangci.yaml
file CHANGELOG.md
file CONTRIBUTING.md
file LICENSE
file README.md
file app.go
file client.go
file colors.go
file colors_test.go
file complete.go
file complete_test.go
file copy.go
file df_openbsd.go
file df_statfs.go
file df_statvfs.go
file df_windows.go
file diacritics.go
file diacritics_test.go
file doc.md
file doc.txt
file eval.go
file eval_test.go
file go.mod
file go.sum
file icons.go
file key.go
file key_test.go
file lf.1
file lf.desktop
file main.go
file misc.go
file misc_test.go
file nav.go
file opts.go
file os.go
file os_windows.go
file parse.go
file ruler.go
file scan.go
file server.go
file sixel.go
file termseq.go
file termseq_test.go
file ui.go
file watch.go