Debian Codegraph @

README.md

raw
1 # LF
2
3 [Doc](doc.md)
4 | [Wiki](https://github.com/gokcehan/lf/wiki)
5 | [#lf:matrix.org](https://matrix.to/#/#lf:matrix.org) (with IRC bridge)
6
7 [![Go Build](https://github.com/gokcehan/lf/actions/workflows/go.yml/badge.svg)](https://github.com/gokcehan/lf/actions/workflows/go.yml)
8 [![Go Report Card](https://goreportcard.com/badge/github.com/gokcehan/lf)](https://goreportcard.com/report/github.com/gokcehan/lf)
9
10 `lf` (as in "list files") is a terminal file manager written in Go with a heavy inspiration from [`ranger`](https://github.com/ranger/ranger) file manager.
11 See [faq](https://github.com/gokcehan/lf/wiki/FAQ) for more information and [tutorial](https://github.com/gokcehan/lf/wiki/Tutorial) for a gentle introduction with screencasts.
12
13 ![icons-and-border](https://github.com/user-attachments/assets/d5623462-05ab-4921-aeb3-d377d4732f9e)
14 ![image-preview](https://github.com/user-attachments/assets/9ff42a21-19dd-42fa-8407-5d055aa9d561)
15 ![new-features](https://github.com/user-attachments/assets/2a9a32aa-a764-438f-a810-e687e979dcee)
16
17 ## Features
18
19 - Cross-platform (Linux, macOS, BSDs, Windows)
20 - Single binary without any runtime dependencies
21 - Fast startup and low memory footprint due to native code and static binaries
22 - Asynchronous IO operations to avoid UI locking
23 - Server/client architecture and remote commands to manage multiple instances
24 - Extendable and configurable with shell commands
25 - Customizable keybindings (vi and readline defaults)
26 - A reasonable set of other features (see the [documentation](doc.md))
27
28 ## Non-Features
29
30 - Tabs or windows (better handled by window manager or terminal multiplexer)
31 - Builtin pager/editor (better handled by your pager/editor of choice)
32 - Builtin commands for file operations (better handled by the underlying shell tools including but not limited to `mkdir`, `touch`, `chmod`, `chown`, `chgrp`, and `ln`)
33
34 ## Installation
35
36 See [packages](https://github.com/gokcehan/lf/wiki/Packages) for community maintained packages.
37
38 See [releases](https://github.com/gokcehan/lf/releases) for pre-built binaries.
39
40 Building from the source requires [Go](https://go.dev/).
41
42 On Unix:
43
44 ```bash
45 env CGO_ENABLED=0 go install -trimpath -ldflags="-s -w" github.com/gokcehan/lf@latest
46 ```
47
48 On Windows `cmd`:
49
50 ```cmd
51 set CGO_ENABLED=0
52 go install -trimpath -ldflags="-s -w" github.com/gokcehan/lf@latest
53 ```
54
55 On Windows `PowerShell`:
56
57 ```powershell
58 $env:CGO_ENABLED = '0'
59 go install -trimpath -ldflags="-s -w" github.com/gokcehan/lf@latest
60 ```
61
62 ## Usage
63
64 After the installation `lf` command should start the application in the current directory.
65
66 Run `lf -help` to see [command line options](doc.md#options).
67
68 Run `lf -doc` to see the [documentation](doc.md).
69
70 See [etc](etc) directory to integrate `lf` to your shell and/or editor.
71 Example configuration files along with example colors and icons files can also be found in this directory.
72
73 See [integrations](https://github.com/gokcehan/lf/wiki/Integrations) to integrate `lf` to other tools.
74
75 See [tips](https://github.com/gokcehan/lf/wiki/Tips) for more examples.
76
77 ## Contributing
78
79 See [contributing](CONTRIBUTING.md) for guidelines.