MOE(1) moe 1.10 MOE(1)
User Commands User Commands
January 2019
NAME
moe - My Own (text) Editor
SYNOPSIS
moe [,global_options/] [[,+line/[,,col/]] ,file_name
/[,file_options/]]...
DESCRIPTION
GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859
and ASCII character encodings. It has a modeless, user-friendly
interface, online help, multiple windows, unlimited undo/redo
capability, unlimited line length, unlimited buffers, global
search/replace (on all buffers at once), block operations, automatic
indentation, word wrapping, file name completion, directory browser,
duplicate removal from prompt histories, delimiter matching, text
conversion from/to UTF-8, romanization, etc.
Moe can easily edit thousands of files at the same time.
Moe uses ISO-8859-15 instead of UTF-8 because an 8-bit character set
(combined with romanization if needed) can convey meaning safely and
more efficiently than UTF-8 can.
'global_options' are a mix of editor options and default
'file_options'. Most long option names have a negative form
'--backup' '--no-backup'.
Each file name may be preceded by '+line[,column]' to start the cursor
at the specified line and, optionally, column. 'line' and 'column' are
applied to subsequent files until new values are specified for them.
'-' used as a file name argument means standard input. Directories
are recursively descended into.
Editor options:
-h, --help
display this help and exit
-V, --version
output version information and exit
-1, --orphan
put extra files in orphaned buffers
-b, --backup
create backup files (default)
-B, --no-backup
don't create backup files
- 1 - Formatted: December 16, 2025
MOE(1) moe 1.10 MOE(1)
User Commands User Commands
January 2019
-e, --exit-ask
make save-and-close ask always for confirmation
-H, --smart-home
go home, then go to first non-blank character
-i, --ignore-case
make search case insensitive by default
-k, --keep-lines=<n>
number of lines to keep for PgUp/PgDn
-m, --max-windows=<n>
max number of windows to show at once
-n, --indent-step=<n>
number of spaces to add when indenting a block
-s, --search-wrap
make search wrap at end of file
-u, --auto-unmark
turn off highlighting after block copy or move
-x, --rectangle
rectangular block mode
File options:
-a, --auto-indent
enable auto indent
-l, --lmargin=<col>
set left margin
-r, --rmargin=<col>
set right margin
-o, --read-only
make buffer read-only
-O, --overwrite
disable insert mode
-w, --word-wrap
enable word wrapping
Exit status: 0 for a normal exit, 1 for environmental problems (file
not found, invalid flags, I/O errors, etc), 2 to indicate a corrupt or
invalid input file, 3 for an internal consistency error (eg, bug)
- 2 - Formatted: December 16, 2025
MOE(1) moe 1.10 MOE(1)
User Commands User Commands
January 2019
which caused moe to panic.
REPORTING BUGS
Report bugs to bug-moe@gnu.org
Moe home page: http://www.gnu.org/software/moe/moe.html
General help using GNU software: http://www.gnu.org/gethelp
COPYRIGHT
Copyright c 2019 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2
or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for moe is maintained as a Texinfo manual. If
the info and moe programs are properly installed at your site, the
command
info moe
should give you access to the complete manual.
- 3 - Formatted: December 16, 2025