Blame


1 bd6a7481 2021-11-26 op .Dd $Mdocdate: November 26 2021$
2 bd6a7481 2021-11-26 op .Dt FM 1
3 bd6a7481 2021-11-26 op .Os
4 bd6a7481 2021-11-26 op .Sh NAME
5 bd6a7481 2021-11-26 op .Nm fm
6 bd6a7481 2021-11-26 op .Nd file manager
7 bd6a7481 2021-11-26 op .Sh SYNOPSIS
8 bd6a7481 2021-11-26 op .Nm
9 bd6a7481 2021-11-26 op .Bk -words
10 bd6a7481 2021-11-26 op .Op Fl hv
11 bd6a7481 2021-11-26 op .Op Fl d Ar file
12 bd6a7481 2021-11-26 op .Op Fl m Ar file
13 bd6a7481 2021-11-26 op .Op Ar directories...
14 bd6a7481 2021-11-26 op .Ek
15 bd6a7481 2021-11-26 op .Sh DESCRIPTION
16 bd6a7481 2021-11-26 op .Nm
17 bd6a7481 2021-11-26 op is an utility designed to browse the filesystem via a tabbed interface.
18 bd6a7481 2021-11-26 op .Pp
19 bd6a7481 2021-11-26 op The arguments are as follows:
20 bd6a7481 2021-11-26 op .Bl -tag -width 14m
21 bd6a7481 2021-11-26 op .It Fl d Ar file
22 bd6a7481 2021-11-26 op Write the last visited path to
23 bd6a7481 2021-11-26 op .Ar file
24 bd6a7481 2021-11-26 op before exiting.
25 bd6a7481 2021-11-26 op .It Fl h , Fl -help
26 bd6a7481 2021-11-26 op Print help message and exit.
27 bd6a7481 2021-11-26 op .It Fl m Ar file
28 bd6a7481 2021-11-26 op Write the path of all the marked entries to
29 bd6a7481 2021-11-26 op .Ar file
30 bd6a7481 2021-11-26 op upon exiting.
31 bd6a7481 2021-11-26 op .It Fl v , Fl -version
32 bd6a7481 2021-11-26 op Print program version and exit.
33 bd6a7481 2021-11-26 op .El
34 bd6a7481 2021-11-26 op .Pp
35 bd6a7481 2021-11-26 op In its most basic usage,
36 bd6a7481 2021-11-26 op .Nm
37 bd6a7481 2021-11-26 op will gather a list of directory entries and present it on the screen.
38 bd6a7481 2021-11-26 op There is always one
39 bd6a7481 2021-11-26 op .Pq and only one
40 bd6a7481 2021-11-26 op highlighted entry visible.
41 bd6a7481 2021-11-26 op This is both the cursor location and the current selection.
42 bd6a7481 2021-11-26 op .Pp
43 bd6a7481 2021-11-26 op It's also possible to select all the entries to be processed and apply
44 bd6a7481 2021-11-26 op the same command to all of them: this is called the mark.
45 bd6a7481 2021-11-26 op Unlike simple selection, the effect of marks is not constrained by
46 bd6a7481 2021-11-26 op visibility: marks are shared across all the tabs.
47 bd6a7481 2021-11-26 op For such purpose,
48 b86032aa 2021-11-26 op .Nm
49 bd6a7481 2021-11-26 op allows an arbitrary number fo entries to be marked, with the only
50 bd6a7481 2021-11-26 op limitation that they must be all in the same directory.
51 bd6a7481 2021-11-26 op .Pp
52 bd6a7481 2021-11-26 op There are ten tabs in total, numbered from 0 to 9, but only one tab is
53 bd6a7481 2021-11-26 op visible on the screen at any given moment.
54 bd6a7481 2021-11-26 op The number associated with the current tab is visible on the right corner
55 bd6a7481 2021-11-26 op of the screen.
56 bd6a7481 2021-11-26 op It's possible to set the current working directory for the tabs at start
57 bd6a7481 2021-11-26 op up by passing the desired paths as extra command-line arguments.
58 bd6a7481 2021-11-26 op The tab at index 0 always starts at
59 bd6a7481 2021-11-26 op .Ev $HOME .
60 bd6a7481 2021-11-26 op If more than nine directories are specified, the extra ones will be
61 bd6a7481 2021-11-26 op silently discarded.
62 bd6a7481 2021-11-26 op Tabs for wich an invalid path was assigned will also start at
63 bd6a7481 2021-11-26 op .Ev $HOME .
64 bd6a7481 2021-11-26 op By default tabs starts at the current working directory.
65 45080001 2021-12-01 op .Sh KEYS
66 45080001 2021-12-01 op These commands are currently recognized
67 45080001 2021-12-01 op .Pq ^L refers to control-L and M-a to meta-a
68 45080001 2021-12-01 op .Pp
69 45080001 2021-12-01 op .Bl -tag -width 20m -compact
70 45080001 2021-12-01 op .It ?
71 45080001 2021-12-01 op Display
72 45080001 2021-12-01 op .Nm
73 45080001 2021-12-01 op manual page.
74 499f9c9e 2021-12-01 op .It ^ | h | b
75 499f9c9e 2021-12-01 op Go up to previous directory.
76 499f9c9e 2021-12-01 op .It H
77 499f9c9e 2021-12-01 op Go to home directory.
78 45080001 2021-12-01 op .It J | ^V | page down
79 45080001 2021-12-01 op Scroll down by one screen.
80 45080001 2021-12-01 op .It K | M-v | page up
81 45080001 2021-12-01 op Scroll up by one screen.
82 45080001 2021-12-01 op .It ^G
83 45080001 2021-12-01 op Do nothing.
84 1a7d56bf 2021-12-12 op .It j | n | ^N | down
85 45080001 2021-12-01 op Scroll down by one line.
86 1a7d56bf 2021-12-12 op .It k | p | ^P | up
87 45080001 2021-12-01 op Scroll up by one line.
88 499f9c9e 2021-12-01 op .It l | f
89 499f9c9e 2021-12-01 op Go to selected directory.
90 01a2cff6 2021-12-12 op .It Y
91 01a2cff6 2021-12-12 op Copy current path.
92 01a2cff6 2021-12-12 op .It P
93 01a2cff6 2021-12-12 op Paste path
94 01a2cff6 2021-12-12 op .Pq goto previously copied path.
95 38d7b472 2021-12-13 op .It ^L
96 38d7b472 2021-12-13 op Refresh and redraw screen.
97 e03d1219 2021-12-13 op .It ^M
98 e03d1219 2021-12-13 op Spawn a shell
99 63fe4ed0 2021-12-13 op .It v
100 63fe4ed0 2021-12-13 op View file with a pager.
101 d244a655 2021-12-13 op .It e
102 d244a655 2021-12-13 op Edit file with an editor.
103 2c5122bc 2021-12-13 op .It o
104 2c5122bc 2021-12-13 op Open the file with an external application.
105 2c5122bc 2021-12-13 op .It m
106 2c5122bc 2021-12-13 op Toggle mark on the file at point.
107 2c5122bc 2021-12-13 op .It M
108 2c5122bc 2021-12-13 op Mark all files
109 2c5122bc 2021-12-13 op .It t
110 2c5122bc 2021-12-13 op Toggle marking.
111 45080001 2021-12-01 op .It q
112 45080001 2021-12-01 op Quit
113 45080001 2021-12-01 op .Nm .
114 45080001 2021-12-01 op .El
115 bd6a7481 2021-11-26 op .Sh SEE ALSO
116 bd6a7481 2021-11-26 op .Xr mc 1 ,
117 bd6a7481 2021-11-26 op .Xr nnn 1 ,
118 bd6a7481 2021-11-26 op .Xr noice 1 ,
119 bd6a7481 2021-11-26 op .Xr ranger 1 ,
120 bd6a7481 2021-11-26 op .Xr rover 1 ,
121 b86032aa 2021-11-26 op .Xr vifm 1
122 bd6a7481 2021-11-26 op .Sh HISTORY
123 bd6a7481 2021-11-26 op .Nm
124 bd6a7481 2021-11-26 op was forked from
125 bd6a7481 2021-11-26 op .Xr rover 1 .
126 bd6a7481 2021-11-26 op .Sh CAVEATS
127 bd6a7481 2021-11-26 op .Nm
128 bd6a7481 2021-11-26 op never asks for confirmation before overwriting existing files.
129 bd6a7481 2021-11-26 op Please be careful.