http://lynx.invisible-island.net/lynx2.8.8/lynx_help/keystrokes/edit_help


Lynx Line Editor Default Key Binding

Overview

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. Alternative key bindings are normally available (unless Lynx was configured with --disable-alt-bindings). If available, they may be selected via the 'o'ptions menu, or by editing lineedit_mode in the '.lynxrc' file.

Two such alternative key bindings, which may be available on your system, are the

You can always see the current set of key-bindings in Lynx by opening the special URL LYNXEDITMAP:. This page is provided for those not using Lynx.

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

Regular Keymap

This is the Default Binding keymap:

     ENTER  Input complete        -  RETURN
     TAB    Input complete        -  TAB, Do
     ABORT  Input cancelled       -  Ctrl-G, Ctrl-O, (Ctrl-C on some systems)
     ERASE  Erase the line        -  Ctrl-U

     BACK   Cursor back     char  -  Left-Arrow
     FORW   Cursor forward  char  -  Right-Arrow
     BACKW  Cursor back     word  -  Ctrl-P
     FORWW  Cursor forward  word  -  Ctrl-N
     BOL    Go to begin of  line  -  Ctrl-A, Home, Find
     EOL    Go to end   of  line  -  Ctrl-E, End,  Select

     DELP   Delete prev     char  -  Ctrl-H, DELETE, Remove
     DELN   Delete next     char  -  Ctrl-D, Ctrl-R (see note 1)
     DELPW  Delete prev     word  -  Ctrl-B
     DELNW  Delete next     word  -  Ctrl-F
     DELEL  Delete to end of line -  Ctrl-_

     UPPER  Upper case the line   -  Ctrl-T
     LOWER  Lower case the line   -  Ctrl-K

     LKCMD  Invoke cmd prompt     -  Ctrl-V (in form text fields, only) (see note 2)
     SWMAP  Switch input keymap   -  Ctrl-^ (if compiled in)

Editing Keymap

These are special commands for use only in textarea fields (see note 3):


          Textarea external edit  - Ctrl-X e
          Insert file in textarea - Ctrl-X i
          Grow textarea           - Ctrl-X g

Notes

  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. Follow Ctrl-V with any recognized key command, to "escape" from a text input field.
  3. For other key combinations using Ctrl-X as a prefix key, see the Help page for the Bash-Like Binding.