Blame


1 8fe7904a 2014-11-07 marcelgmr Introduction
2 8fe7904a 2014-11-07 marcelgmr ============
3 8fe7904a 2014-11-07 marcelgmr
4 c9f42136 2021-11-25 op > fm is a file browser for the terminal.
5 cc8a22df 2014-11-07 marcelgmr
6 c9f42136 2021-11-25 op The main goal is to provide a faster way to explore a file system from
7 c9f42136 2021-11-25 op the terminal, compared to what's possible by using `cd`, `ls`, etc. fm
8 c9f42136 2021-11-25 op has vi-like key bindings for navigation and can open files in $PAGER and
9 c9f42136 2021-11-25 op $EDITOR. Basic file system operations are also implemented (see fm(1)
10 c9f42136 2021-11-25 op for details). fm is designed to be simple, fast and portable.
11 95bdeca1 2014-11-07 marcelgmr
12 c9f42136 2021-11-25 op fm was forked from [Rover](https://github.com/lecram/rover).
13 8fe7904a 2014-11-07 marcelgmr
14 8fe7904a 2014-11-07 marcelgmr Quick Start
15 8fe7904a 2014-11-07 marcelgmr ===========
16 8fe7904a 2014-11-07 marcelgmr
17 d781a4b9 2015-04-17 marcelgmr Building and Installing:
18 8fe7904a 2014-11-07 marcelgmr ```
19 8fe7904a 2014-11-07 marcelgmr $ make
20 8faaef35 2014-11-09 marcelgmr $ sudo make install
21 719c5cd4 2014-11-08 marcelgmr ```
22 719c5cd4 2014-11-08 marcelgmr
23 8fe7904a 2014-11-07 marcelgmr Running:
24 8fe7904a 2014-11-07 marcelgmr ```
25 c9f42136 2021-11-25 op $ fm [DIR1 [DIR2 [DIR3 [...]]]]
26 ac947adb 2014-11-09 marcelgmr ```
27 ac947adb 2014-11-09 marcelgmr
28 179ab105 2017-02-15 marcelgmr Basic Usage:
29 8fe7904a 2014-11-07 marcelgmr ```
30 c9f42136 2021-11-25 op q - quit fm
31 c9f42136 2021-11-25 op ? - show fm manual
32 8986353b 2014-11-11 marcelgmr j/k - move cursor down/up
33 8986353b 2014-11-11 marcelgmr J/K - move cursor down/up 10 lines
34 b90df0a4 2015-06-05 marcelgmr g/G - move cursor to top/bottom of listing
35 8fe7904a 2014-11-07 marcelgmr l - enter selected directory
36 8fe7904a 2014-11-07 marcelgmr h - go to parent directory
37 8fe7904a 2014-11-07 marcelgmr H - go to $HOME directory
38 179ab105 2017-02-15 marcelgmr 0-9 - change tab
39 8fe7904a 2014-11-07 marcelgmr RETURN - open $SHELL on the current directory
40 2f7057e8 2014-11-09 marcelgmr SPACE - open $PAGER with the selected file
41 e6fea658 2017-09-29 marcelgmr e - open $VISUAL or $EDITOR with the selected file
42 8fe7904a 2014-11-07 marcelgmr / - start incremental search (RETURN to finish)
43 7b9cb44d 2014-11-14 marcelgmr n/N - create new file/directory
44 2a2e3586 2015-07-27 marcelgmr R - rename selected file or directory
45 5544fe58 2015-07-22 marcelgmr D - delete selected file or (empty) directory
46 8fe7904a 2014-11-07 marcelgmr ```
47 8fe7904a 2014-11-07 marcelgmr
48 c9f42136 2021-11-25 op Please read fm(1) for more information.
49 8fe7904a 2014-11-07 marcelgmr
50 7fa0e315 2014-11-14 marcelgmr
51 335bf069 2015-06-21 marcelgmr Requirements
52 0aeec769 2014-11-07 marcelgmr ============
53 0aeec769 2014-11-07 marcelgmr
54 335bf069 2015-06-21 marcelgmr * Unix-like system;
55 335bf069 2015-06-21 marcelgmr * curses library.
56 0aeec769 2014-11-07 marcelgmr
57 93f75985 2014-11-07 marcelgmr
58 8fe7904a 2014-11-07 marcelgmr Configuration
59 8fe7904a 2014-11-07 marcelgmr =============
60 8fe7904a 2014-11-07 marcelgmr
61 c9f42136 2021-11-25 op fm configuration (mostly key bindings and colors) can only be changed by
62 335bf069 2015-06-21 marcelgmr editing the file `config.h` and rebuilding the binary.
63 719c5cd4 2014-11-08 marcelgmr
64 c9f42136 2021-11-25 op Note that the external programs executed by some fm commands may be
65 c9f42136 2021-11-25 op changed via the appropriate environment variables. For example, to
66 c9f42136 2021-11-25 op specify an editor:
67 8fe7904a 2014-11-07 marcelgmr
68 c9f42136 2021-11-25 op ```
69 c9f42136 2021-11-25 op $ VISUAL=vi fm
70 c9f42136 2021-11-25 op ```
71 8225771f 2016-12-05 marcelgmr
72 c9f42136 2021-11-25 op fm will first check for variables prefixed with ROVER_. This can be used
73 c9f42136 2021-11-25 op to change fm behavior without interfering with the global environment:
74 0aeec769 2014-11-07 marcelgmr
75 c9f42136 2021-11-25 op ```
76 c9f42136 2021-11-25 op $ ROVER_VISUAL=vi rover
77 c9f42136 2021-11-25 op ```
78 8fe7904a 2014-11-07 marcelgmr
79 c9f42136 2021-11-25 op Please read fm(1) for more information.
80 c9f42136 2021-11-25 op
81 c9f42136 2021-11-25 op
82 d1f7bb95 2015-06-02 marcelgmr Copying
83 d1f7bb95 2015-06-02 marcelgmr =======
84 d1f7bb95 2015-06-02 marcelgmr
85 c9f42136 2021-11-25 op All of the source code and documentation for fm is released into the
86 c9f42136 2021-11-25 op public domain and provided without warranty of any kind.