forked from afify/sfm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sfm.1
147 lines (147 loc) · 1.77 KB
/
sfm.1
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
.TH sfm 1 sfm\-VERSION
.SH NAME
sfm \- simple file manager
.SH SYNOPSIS
.B sfm
.RB [ \-v ]
.SH DESCRIPTION
sfm is a simple file manager for unix-like systems based on termbox.
dual panes, bottom statusbar, bookmarks, open files by extention, vim-like key bindings as default configuration. cwd is left pane dir.
.P
.SH OPTIONS
.TP
.B \-v
print version.
.SH USAGE
.SS Normal Mode
.TP
.B q
quit
.TP
.B h
back
.TP
.B j
down
.TP
.B k
up
.TP
.B l
open dir | file
.TP
.B g
top
.TP
.B G
bottom
.TP
.B ctrl+u
scroll up
.TP
.B ctrl+d
scroll down
.TP
.B n
create new file if not exists
.TP
.B N
create new directory if not exists
.TP
.B d
delete file | directory recursively
.TP
.B D
duplicate file | directory recursively
.TP
.B y
yank
.TP
.B p
paste
.TP
.B P
move
.TP
.B b
spawn a shell in the current directory
.TP
.B c
start change
.TP
.B cw
rename
.TP
.B co
change owner and group (chown)
.TP
.B cm
change mode (chmod)
.TP
.B cf
change flags (chflags | chattr)
.TP
.B cc
exit change
.TP
.B cq
exit change
.TP
.B .
toggle dotfiles
.TP
.B v
start visual mode
.TP
.B /
start filter
.TP
.B ENTER
find filter
.TP
.B ESC
exit filter
.TP
.B SPACE
switch pane
.TP
.B ctrl+r
refresh panes
.SS Visual Mode
.TP
.B j
select down
.TP
.B k
select up
.TP
.B d
delete selection
.TP
.B v
exit visual mode
.TP
.B q
exit visual mode
.TP
.B ESC
exit visual mode | change
.SH CUSTOMIZATION
sfm is customized by creating a custom
.IR config.h
and (re)compiling the source
code. This keeps it fast, secure and simple.
.SH ENVIRONMENT
.TP
.B EDITOR
open unconfigured file extention. vi(1) if not set.
.TP
.B HOME
right pane default directory. / if not set.
.TP
.B SHELL
shell spawned with the 'b' key. /bin/sh if not set.
.SH AUTHORS
See the LICENSE file for the authors.
.SH LICENSE
See the LICENSE file for the terms of redistribution.