Lynx Line Editor Bash-Like Key Binding

Lynx invokes a built-in Line Editor for entering strings in response to prompts, in forms, and for email messages if an external editor has not been defined. Several sets of key-bindings can be offered by configuring with --enable-alt-bindings or by adding them in LYEditmap.c before compiling Lynx. If available, they may be selected via the 'o'ptions menu, or by editing lineedit_mode in the '.lynxrc' file.

Note: setting emacs/vi keys ON has no direct effect on line-editor bindings.

Notes

C-key means Control+key. C-xkey means first Control+x, then key. M-key means Meta+key, where Meta is a modifier that can be entered in a variety of ways:

First ESC, then the key. This doesn't work with all systems or on all connections, and if it does may not work for some keys (because the ESC character is also part of code sequences for "normal" function keys).

Alt+key. This works if the terminal, console, or comm program is set up to interpret Alt as a modifier to send ESC. The Linux console acts like that by default for most keys; Kermit can be set up to do it, xterm can be for some keys, and so on. But the same caveats as for the previous item apply. This Alt mapping may also be possible, independent of the ESC character, for some keys in Lynx for DOS/i386 or for Win32.

C-x key. Actually, currently the same internal table is used for Meta and the C-x prefix. Therefore all M-key combinations can also be typed as C-x key, and vice versa.

[1] "next" means the character "under" a box or underline style cursor; it
means "to the immediate right of" an I-beam (between characters) type
cursor.
[2] For entering strings in response to prompts (that is, when not editing
form text fields), some keys have different actions: TAB tries to
complete input based on previous response; Up-Arrow and Down-Arrow
may offer previous response and next response, respectively, from
recall buffer for some prompts.
[3] C-w can only be used for editing functions if its default KEYMAP
to REFRESH is changed. This can be done in the lynx.cfg file,
for example with the line "KEYMAP:^W:DO_NOTHING". This also applies
for other keys: as long as the key's action is mapped to REFRESH,
either with an explicit KEYMAP in lynx.cfg or by default, the
key's Line Editor binding is disabled.
[4] These keys invoke special behavior when pressed twice in a row:
C-e C-e calls the external editor for changing the text in a
textarea (if available). C-k C-k will move to the next link,
so that all lines in a textarea can be conveniently cleared by
repeating C-k.
[5] Key is likely unavailable for Lynx, because it is interpreted by
operating system, comm program, or curses library, or swallowed
as part of escape sequence recognition. Binding is provided for
the benefit of those where this doesn't apply.
[FORM] In form text fields, only. Ignored by Line Editor elsewhere.
More notes
When a text input field, including a textarea line, is selected,
the Line Editor functions get a first grab at the keys entered.
If a key has no function defined in the Line Editor binding, it
can either be ignored, or passed on for normal key command handling,
where modifiers like C-x or Meta currently have no effect (see the
Key Map Page accessible with the key K for current information).

Additional details on other keys, for the curious (very much subject to change)