Fast, small, hackable TUI file manager with no dependency
Find a file
2024-03-30 22:00:57 +01:00
.gitignore Add highlight on current cursor file with preview 2024-03-09 17:37:04 +00:00
ccc.1 Add man page and update README 2024-03-19 19:40:32 +01:00
ccc.c Add decimal places macro and fuck around config.h 2024-03-30 22:00:57 +01:00
config.h Add decimal places macro and fuck around config.h 2024-03-30 22:00:57 +01:00
file.c Add a bunch of icons 2024-03-30 11:06:38 +01:00
file.h icons and fix goto trash dir and fix preview 2024-03-29 22:34:26 +00:00
icons.c Add decimal places macro and fuck around config.h 2024-03-30 22:00:57 +01:00
icons.h fix icons not showing and segfault when size not properly formatted 2024-03-30 13:00:16 +00:00
LICENSE Initial commit 2024-03-09 11:41:17 +00:00
Makefile Add decimal places macro and fuck around config.h 2024-03-30 22:00:57 +01:00
README.md icons and fix goto trash dir and fix preview 2024-03-29 22:34:26 +00:00
util.c suckless code style 2024-03-10 10:54:08 +00:00
util.h Add highlight on current cursor file with preview 2024-03-09 17:37:04 +00:00

ccc

ccc is a rewrite of fff in C aiming for usefulness and speed.

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!

Feature of fff Ported Dropped
Standard movement X
Advanced movement (jumps) X
File details X
File icons! 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:

  • File preview (without highlighting)

Installation

Dependencies

  • gcc
  • ncursesw
  • make
  • pkg-config
  • Any Nerd Font for file icons (optional, but turned on by default)

Building

You will need to run these with elevated privilages.

$ git clone https://github.com/piotr-marendowski/ccc
$ make 
$ sudo make install

Usage

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

left:  go to parent dir
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
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
z: refresh current dir

i: toggle file details
X: toggle executable

A: show directory disk usage/block size
space: mark file
a: mark all files in directory

?: show help
q: exit with last dir written to file
ctrl+c exit without writing last dir

License

This project has GNU GPL v.3 license.