Change gg to g and update manual
This commit is contained in:
parent
46d495e610
commit
c774511889
3 changed files with 16 additions and 17 deletions
|
@ -44,7 +44,7 @@ right: go to child dir
|
||||||
enter: go to child dir/open file
|
enter: go to child dir/open file
|
||||||
backspace: go to parent dir
|
backspace: go to parent dir
|
||||||
|
|
||||||
gg: go to top
|
g: go to top
|
||||||
G: go to bottom
|
G: go to bottom
|
||||||
|
|
||||||
ctrl+u: jump up
|
ctrl+u: jump up
|
||||||
|
@ -60,6 +60,7 @@ u: sort files
|
||||||
.: toggle hidden files
|
.: toggle hidden files
|
||||||
i: toggle file details
|
i: toggle file details
|
||||||
X: toggle executable
|
X: toggle executable
|
||||||
|
!: open shell in current dir
|
||||||
|
|
||||||
A: show directory disk usage/block size
|
A: show directory disk usage/block size
|
||||||
|
|
||||||
|
@ -80,7 +81,6 @@ o: open file with
|
||||||
O: open file with a GUI program detached from file manager
|
O: open file with a GUI program detached from file manager
|
||||||
|
|
||||||
/: search
|
/: search
|
||||||
!: open shell in current dir
|
|
||||||
|
|
||||||
x: view file/dir attributes
|
x: view file/dir attributes
|
||||||
e: show history
|
e: show history
|
||||||
|
|
12
ccc.1
12
ccc.1
|
@ -1,11 +1,11 @@
|
||||||
.
|
.
|
||||||
.TH CCC "1" "March 2024" "ccc" "User Commands"
|
.TH CCC "1" "March 2024" "ccc" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
ccc \- Fast TUI file manager written in C, using ncurses.
|
ccc \- Fast, small, hackable TUI file manager with no dependency
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B ccc
|
.B ccc
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
ccc is a rewrite of fff file manager 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.
|
Soft fork of fff in C aiming for size and speed with no dependency, hackable with patches and configurable
|
||||||
.PP
|
.PP
|
||||||
.SH "Usage"
|
.SH "Usage"
|
||||||
.
|
.
|
||||||
|
@ -24,7 +24,7 @@ right: go to child dir
|
||||||
enter: go to child dir/open file
|
enter: go to child dir/open file
|
||||||
backspace: go to parent dir
|
backspace: go to parent dir
|
||||||
|
|
||||||
gg: go to top
|
g: go to top
|
||||||
G: go to bottom
|
G: go to bottom
|
||||||
|
|
||||||
ctrl+u: jump up
|
ctrl+u: jump up
|
||||||
|
@ -34,13 +34,19 @@ t: go to trash dir
|
||||||
~: go to home dir
|
~: go to home dir
|
||||||
-: go to previous dir
|
-: go to previous dir
|
||||||
z: refresh current dir
|
z: refresh current dir
|
||||||
|
:: go to a directory by typing
|
||||||
|
u: sort files
|
||||||
|
|
||||||
|
.: toggle hidden files
|
||||||
i: toggle file details
|
i: toggle file details
|
||||||
X: toggle executable
|
X: toggle executable
|
||||||
|
!: open shell in current dir
|
||||||
|
|
||||||
A: show directory disk usage/block size
|
A: show directory disk usage/block size
|
||||||
|
|
||||||
f: new file
|
f: new file
|
||||||
|
n: new dir
|
||||||
|
r: rename
|
||||||
|
|
||||||
space: mark file
|
space: mark file
|
||||||
a: mark all files in directory
|
a: mark all files in directory
|
||||||
|
|
7
ccc.c
7
ccc.c
|
@ -281,17 +281,10 @@ int main(int argc, char **argv)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* jump to the top */
|
/* jump to the top */
|
||||||
case 'g':
|
|
||||||
ch2 = read_key();
|
|
||||||
switch (ch2) {
|
|
||||||
case 'g':
|
case 'g':
|
||||||
sel_file = 0;
|
sel_file = 0;
|
||||||
list_files();
|
list_files();
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
/* '~' go to $HOME */
|
/* '~' go to $HOME */
|
||||||
case TILDE:;
|
case TILDE:;
|
||||||
|
|
Loading…
Reference in a new issue