ccc/README.md

88 lines
2 KiB
Markdown
Raw Normal View History

# ccc
2024-03-09 12:52:45 +01:00
`ccc` is a rewrite of [fff](https://github.com/piotr-marendowski/fff) in C aiming for usefulness and speed.
2024-03-09 21:52:24 +01:00
The fact that it is written in C makes it more versatile and rapid, enabling us to add features that were previously ruled out due to time complexity. You may call it a `soft fork`.
## Features
Consider this project incomplete and WIP!
2024-03-19 19:40:32 +01:00
| Feature of fff | Ported | Dropped |
|--------------------------------|:------:|:-------:|
| Standard movement | X | |
| Advanced movement (jumps) | X | |
| File details | X | |
| Searching for files | | |
| Sorting | | |
| Marking and marking operations | | |
| Other operations on files | | |
| Image previews | | |
| Help | | |
| History | | |
| Bookmarks | | |
| Bulk rename | | |
#### Features added that are not in [fff](https://github.com/piotr-marendowski/fff):
- File preview (without highlighting)
## Installation
2024-03-09 19:29:23 +01:00
### Dependencies
2024-03-09 12:52:45 +01:00
- gcc
2024-03-19 19:40:32 +01:00
- ncurses
2024-03-09 21:52:24 +01:00
- make
- pkg-config
2024-03-09 19:29:23 +01:00
2024-03-09 21:52:24 +01:00
### Building
2024-03-12 21:54:25 +01:00
You will need to run these with elevated privilages.
2024-03-09 12:52:45 +01:00
2024-03-19 19:40:32 +01:00
```
2024-03-12 21:54:25 +01:00
$ git clone https://github.com/piotr-marendowski/ccc
$ make
$ sudo make install
2024-03-09 12:52:45 +01:00
```
2024-03-19 19:40:32 +01:00
## Usage
```
h: go to parent dir
2024-03-19 19:40:32 +01:00
j: scroll down
k: scroll up
l: go to child dir
left: go to parent dir
2024-03-19 19:40:32 +01:00
down: scroll down
up: scroll up
right: go to child dir
enter: go to child dir/open file
backspace: go to parent dir
gg: go to top
2024-03-19 19:40:32 +01:00
G: go to bottom
ctrl+u: jump up
ctrl+d: jump down
t: go to trash dir
~: go to home dir
-: go to previous dir
2024-03-19 19:40:32 +01:00
z: refresh current dir
A: show directory disk usage/block size
2024-03-19 19:40:32 +01:00
space: mark file
a: mark all files in directory
?: show help
2024-03-20 21:30:06 +01:00
q: exit with last dir written to file
ctrl+c exit without writing last dir
2024-03-19 19:40:32 +01:00
```
## License
This project has GNU GPL v.3 license.