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 -1, --orphan
48 put extra files in orphaned buffers
49
50 -b, --backup
51 create backup files (default)
52
53 -B, --no-backup
54 don't create backup files
55
56 -e, --exit-ask
57 make save-and-close ask always for confirmation
58
59 -H, --smart-home
60 go home, then go to first non-blank character
61
62 -i, --ignore-case
63 make search case insensitive by default
64
65 -k, --keep-lines=<n>
66 number of lines to keep for PgUp/PgDn
67
68 -m, --max-windows=<n>
69 max number of windows to show at once
70
71 -n, --indent-step=<n>
72 number of spaces to add when indenting a block
73
74 -s, --search-wrap
75 make search wrap at end of file
76
77 -u, --auto-unmark
78 turn off highlighting after block copy or move
79
80 -x, --rectangle
81 rectangular block mode
82
83 File options:
84 -a, --auto-indent
85 enable auto indent
86
87 -l, --lmargin=<col>
88 set left margin
89
90 -r, --rmargin=<col>
91 set right margin
92
93 -o, --read-only
94 make buffer read-only
95
96 -O, --overwrite
97 disable insert mode
98
99 -w, --word-wrap
100 enable 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 flags, I/O errors, etc), 2 to indicate an invalid or unreadable input
107 file, 3 for an internal consistency error (e.g., bug) which caused moe
108 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 © 2022 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.12 January 2022 MOE(1)