summaryrefslogtreecommitdiffstats
path: root/README.md
blob: 27163a038f07e12710fd9018ff57bb6a85b8339b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# fff (*Fucking Fast File-Manager*)

<a href="https://asciinema.org/a/YoM4m6f7m63IK5Athb2F9AAXV" target="_blank"><img src="https://asciinema.org/a/B2LRFD6q26E7DhftTkeHLAUMT.png" alt="img" height="300px" align="right"/></a>

A simple file manager written in `bash`.

- It's Fucking Fast 🚀
- Minimal (*~100 lines of bash*)
- Smooth Scrolling (*Using vim keybindings.*)
- File Operations (*copy, paste, rename, cut, delete*)
- Basic Search
- CD on Exit


## Dependencies

- `bash`
- program handling (non-text): `xdg-open`
- copying: `cp`
- moving, renaming, trash: `mv`

## Running

1. `fff`
2. optional: `alias f="fff"`


## Usage

```sh
j: scroll down
k: scroll up
h: go to parent dir
l: go to child dir

enter: go to child dir

g: go to top
G: go to bottom

.: toggle hidden files
/: search
t: go to trash
~: go to home

down:  scroll down
up:    scroll up
left:  go to parent dir
right: go to child dir

y: mark copy
m: mark move
p: paste/move
r: rename
d: trash (~/.cache/fff/bin/)
```

## Customization

```sh
# Directory color [0-9]
export FFF_COL1=2

# Status color [0-9]
export FFF_COL2=7

# Text Editor
export EDITOR="cmd"
```

## Why?

¯\\_(ツ)_/¯