1MOE(1) User Commands MOE(1)
2
3
4
6 moe - My Own (text) Editor
7
9 moe [global_options] [[+[line[,col]]] file_name [file_options]]...
10
12 GNU moe is a console text editor for ISO-8859 and ASCII character en‐
13 codings. It has a modeless, user-friendly interface, online help, mul‐
14 tiple windows, global search/replace (on all buffers at once), block
15 operations, automatic indentation, word wrapping, file name completion,
16 directory browser, duplicate removal from prompt histories, delimiter
17 matching, text conversion from/to UTF-8, romanization, etc. The file
18 size, line length, number of buffers, and undo/redo capability are only
19 limited by the amount of memory available and the size of the address
20 space of your machine.
21
22 Moe respects your work. By default it won't automatically add, change,
23 or remove a single byte in your files. Moe is a WYTIWYG (what you type
24 is what you get) editor.
25
26 Moe can easily edit thousands of files at the same time.
27
28 'global_options' are a mix of editor options and default 'file_op‐
29 tions'. Most long option names have a negative form '--backup'
30 '--no-backup'.
31
32 Each file name may be preceded by '+[line[,column]]' to start the cur‐
33 sor at the line, and optionally column, specified. 'line' and 'column'
34 are applied to subsequent files until new values are specified for
35 them. A '+' alone puts the cursor at end-of-buffer.
36
37 A hyphen '-' used as a file name argument means standard input. Direc‐
38 tories are recursively descended into.
39
40 Editor options:
41 -h, --help
42 display this help and exit
43
44 -V, --version
45 output version information and exit
46
47 -b, --backup
48 create backup files (default)
49
50 -B, --no-backup
51 don't create backup files
52
53 -e, --exit-ask
54 make save-and-close ask always for confirmation
55
56 -H, --smart-home
57 go home, then go to first non-blank character
58
59 -i, --ignore-case
60 make search case insensitive by default
61
62 -k, --keep-lines=<n>
63 number of lines to keep for PgUp/PgDn
64
65 -m, --max-windows=<n>
66 max number of windows to show at once
67
68 -n, --indent-step=<n>
69 number of spaces to add when indenting a block
70
71 -s, --search-wrap
72 make search wrap at end of file
73
74 -u, --auto-unmark
75 turn off highlighting after block copy or move
76
77 -x, --rectangle
78 rectangular block mode
79
80 File options:
81 -a, --auto-indent
82 enable auto indent
83
84 -l, --lmargin=<col>
85 set left margin
86
87 -r, --rmargin=<col>
88 set right margin
89
90 -o, --read-only
91 make buffer read-only
92
93 -O, --overwrite
94 disable insert mode
95
96 -w, --word-wrap
97 enable word wrapping
98
99 -W, --no-word-wrap
100 disable word wrapping
101
102 -2, --two-spaces
103 make reformat put two spaces after period
104
105 Exit status: 0 for a normal exit, 1 for environmental problems (invalid
106 command line options, I/O errors, etc), 2 to indicate an invalid or un‐
107 readable input file, 3 for an internal consistency error (e.g., bug)
108 which caused moe to panic.
109
111 Report bugs to bug-moe@gnu.org
112 Moe home page: http://www.gnu.org/software/moe/moe.html
113 General help using GNU software: http://www.gnu.org/gethelp
114
116 Copyright © 2023 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2
117 or later <http://gnu.org/licenses/gpl.html>
118 This is free software: you are free to change and redistribute it.
119 There is NO WARRANTY, to the extent permitted by law.
120
122 The full documentation for moe is maintained as a Texinfo manual. If
123 the info and moe programs are properly installed at your site, the com‐
124 mand
125
126 info moe
127
128 should give you access to the complete manual.
129
130
131
132GNU moe 1.13 February 2023 MOE(1)