forked from afify/sfm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sfm.1
120 lines (120 loc) · 1.44 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
.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 c
rename
.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
.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
.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.
.SH AUTHORS
See the LICENSE file for the authors.
.SH LICENSE
See the LICENSE file for the terms of redistribution.