1 c53df816 2023-02-08 op .\" fm.1 was written by Omar Polo <op@omarpolo.com>, based on the work
2 c53df816 2023-02-08 op .\" of Marcel Rodrigues, and is placed in the public domain. The author
3 c53df816 2023-02-08 op .\" hereby disclaims copyright to this source code.
4 bd6a7481 2021-11-26 op .Dd $Mdocdate: November 26 2021$
9 bd6a7481 2021-11-26 op .Nd file manager
14 bd6a7481 2021-11-26 op .Op Fl d Ar file
15 bd6a7481 2021-11-26 op .Op Fl m Ar file
16 bd6a7481 2021-11-26 op .Op Ar directories...
18 bd6a7481 2021-11-26 op .Sh DESCRIPTION
20 bd6a7481 2021-11-26 op is an utility designed to browse the filesystem via a tabbed interface.
22 bd6a7481 2021-11-26 op The arguments are as follows:
23 bd6a7481 2021-11-26 op .Bl -tag -width 14m
24 bd6a7481 2021-11-26 op .It Fl d Ar file
25 bd6a7481 2021-11-26 op Write the last visited path to
27 bd6a7481 2021-11-26 op before exiting.
28 bd6a7481 2021-11-26 op .It Fl h , Fl -help
29 bd6a7481 2021-11-26 op Print help message and exit.
30 bd6a7481 2021-11-26 op .It Fl m Ar file
31 bd6a7481 2021-11-26 op Write the path of all the marked entries to
34 bd6a7481 2021-11-26 op .It Fl v , Fl -version
35 bd6a7481 2021-11-26 op Print program version and exit.
38 bd6a7481 2021-11-26 op In its most basic usage,
40 bd6a7481 2021-11-26 op will gather a list of directory entries and present it on the screen.
41 bd6a7481 2021-11-26 op There is always one
42 bd6a7481 2021-11-26 op .Pq and only one
43 bd6a7481 2021-11-26 op highlighted entry visible.
44 bd6a7481 2021-11-26 op This is both the cursor location and the current selection.
46 bd6a7481 2021-11-26 op It's also possible to select all the entries to be processed and apply
47 bd6a7481 2021-11-26 op the same command to all of them: this is called the mark.
48 bd6a7481 2021-11-26 op Unlike simple selection, the effect of marks is not constrained by
49 bd6a7481 2021-11-26 op visibility: marks are shared across all the tabs.
50 bd6a7481 2021-11-26 op For such purpose,
52 bd6a7481 2021-11-26 op allows an arbitrary number fo entries to be marked, with the only
53 bd6a7481 2021-11-26 op limitation that they must be all in the same directory.
55 bd6a7481 2021-11-26 op There are ten tabs in total, numbered from 0 to 9, but only one tab is
56 bd6a7481 2021-11-26 op visible on the screen at any given moment.
57 bd6a7481 2021-11-26 op The number associated with the current tab is visible on the right corner
58 bd6a7481 2021-11-26 op of the screen.
59 bd6a7481 2021-11-26 op It's possible to set the current working directory for the tabs at start
60 bd6a7481 2021-11-26 op up by passing the desired paths as extra command-line arguments.
61 bd6a7481 2021-11-26 op The tab at index 0 always starts at
63 bd6a7481 2021-11-26 op If more than nine directories are specified, the extra ones will be
64 bd6a7481 2021-11-26 op silently discarded.
65 bd6a7481 2021-11-26 op Tabs for wich an invalid path was assigned will also start at
67 bd6a7481 2021-11-26 op By default tabs starts at the current working directory.
69 45080001 2021-12-01 op These commands are currently recognized
70 45080001 2021-12-01 op .Pq ^L refers to control-L and M-a to meta-a
72 45080001 2021-12-01 op .Bl -tag -width 20m -compact
78 499f9c9e 2021-12-01 op Go up to previous directory.
80 499f9c9e 2021-12-01 op Go to home directory.
81 45080001 2021-12-01 op .It J | ^V | page down
82 45080001 2021-12-01 op Scroll down by one screen.
83 45080001 2021-12-01 op .It K | M-v | page up
84 45080001 2021-12-01 op Scroll up by one screen.
87 1a7d56bf 2021-12-12 op .It j | n | ^N | down
88 45080001 2021-12-01 op Scroll down by one line.
89 1a7d56bf 2021-12-12 op .It k | p | ^P | up
90 45080001 2021-12-01 op Scroll up by one line.
92 499f9c9e 2021-12-01 op Go to selected directory.
94 01a2cff6 2021-12-12 op Copy current path.
97 01a2cff6 2021-12-12 op .Pq goto previously copied path.
99 38d7b472 2021-12-13 op Refresh and redraw screen.
101 e03d1219 2021-12-13 op Spawn a shell
103 63fe4ed0 2021-12-13 op View file with a pager.
105 d244a655 2021-12-13 op Edit file with an editor.
107 2c5122bc 2021-12-13 op Open the file with an external application.
109 2c5122bc 2021-12-13 op Toggle mark on the file at point.
111 2c5122bc 2021-12-13 op Mark all files
113 2c5122bc 2021-12-13 op Toggle marking.
121 bd6a7481 2021-11-26 op .Xr noice 1 ,
122 bd6a7481 2021-11-26 op .Xr ranger 1 ,
123 bd6a7481 2021-11-26 op .Xr rover 1 ,
127 bd6a7481 2021-11-26 op was forked from
128 bd6a7481 2021-11-26 op .Xr rover 1 .
131 bd6a7481 2021-11-26 op never asks for confirmation before overwriting existing files.
132 bd6a7481 2021-11-26 op Please be careful.