ccc/ccc.1

100 lines
1.7 KiB
Groff
Raw Normal View History

2024-03-19 19:40:32 +01:00
.
.TH CCC "1" "March 2024" "ccc" "User Commands"
.SH NAME
2024-11-17 16:22:55 +01:00
ccc \- Fast, small, hackable TUI file manager with no dependency
2024-03-19 19:40:32 +01:00
.SH SYNOPSIS
.B ccc
.SH DESCRIPTION
2024-11-17 16:22:55 +01:00
Soft fork of fff in C aiming for size and speed with no dependency, hackable with patches and configurable
2024-03-19 19:40:32 +01:00
.PP
.SH "Usage"
.
.nf
2024-11-21 16:45:13 +01:00
h/left/backspace: go to parent dir
j/down: scroll down
k/up: scroll up
l/right/enter: go to child dir
2024-03-19 19:40:32 +01:00
2024-11-18 01:25:35 +01:00
o: open file with
O: open file with a GUI program detached from file manager
2024-11-17 16:22:55 +01:00
g: go to top
2024-03-19 19:40:32 +01:00
G: go to bottom
2024-04-05 19:53:45 +02:00
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
2024-11-17 16:22:55 +01:00
:: go to a directory by typing
2024-03-19 19:40:32 +01:00
2024-11-17 16:22:55 +01:00
.: toggle hidden files
2024-11-17 19:13:57 +01:00
A: show directory disk usage/block size
2024-04-05 19:53:45 +02:00
i: toggle file details
2024-11-17 19:13:57 +01:00
u: sort files
2024-11-17 20:27:42 +01:00
x: view file/dir attributes
e: show history
2024-11-17 19:13:57 +01:00
y: copy filename to clipboard
2024-11-17 16:22:55 +01:00
!: open shell in current dir
2024-04-05 19:53:45 +02:00
f: new file
2024-11-17 16:22:55 +01:00
n: new dir
r: rename
2024-11-17 19:13:57 +01:00
X: toggle executable
2024-04-05 19:53:45 +02:00
2024-03-19 19:40:32 +01:00
space: mark file
a: mark all files in directory
2024-04-05 19:53:45 +02:00
d: trash
2024-11-18 01:25:35 +01:00
[1-9]: favourites/bookmarks (see customizing)
2024-04-05 19:53:45 +02:00
?: show help
q: exit with last dir written to file
ctrl+c exit without writing last dir
2024-03-19 19:40:32 +01:00
.
.fi
.
.SH "Customization"
.
.nf
Various settings can be changed in config.h file located in the program's directory.
.
.fi
.
.SH "CD on Exit for POSIX Shell"
.
.nf
# Add this to your .bashrc, .zshrc or equivalent.
# Run 'ccc' with 'c' or whatever you decide to name the function.
c() {
ccc "$@"
cd "$(cat "${XDG_CACHE_HOME:=${HOME}/.cache}/ccc/.ccc_d")"
}
.
.fi
.
.SH "Environment variables"
.
.nf
export CCC_LAST_D=~/.cache/ccc/.ccc_d
export CCC_FAV1=~/projects
export CCC_FAV2=~/.bashrc
export CCC_FAV3=~/Pictures/Wallpapers/
export CCC_FAV4=/usr/share
export CCC_FAV5=/
export CCC_FAV6=
export CCC_FAV7=
export CCC_FAV8=
export CCC_FAV9=
2024-03-19 19:40:32 +01:00
.
.fi