about summary refs log tree commit diff stats
path: root/lynx_help/keystrokes/edit_help.html
blob: d18eb2554dc4be94bbfc8705c142dc4c865ee5ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!-- $LynxId: edit_help.html,v 1.13 2012/01/31 23:17:33 tom Exp $ -->

<html>
<head>
  <meta name="generator" content=
  "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org">

  <title>Lynx Line Editor Default Key Binding</title>
  <link rev="made" href="mailto:lynx-dev@nongnu.org">
  <meta http-equiv="Content-Type" content=
  "text/html; charset=us-ascii">
</head>

<body>
  <h1>DEFAULT BINDING</h1>

  <p>Lynx invokes a built-in <em>Line Editor</em> for entering
  strings in response to prompts, in forms, and for email messages
  if an external editor has not been defined. Alternative 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.</p>

  <p>Two such alternative key bindings, which may be available on
  your system, are the <a href="alt_edit_help.html">Alternative
  Binding</a> keymap and the <a href=
  "bashlike_edit_help.html">Bash-like Binding</a> keymap.</p>

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

  <p>This is the <em>Default Binding</em> keymap:</p>
  <pre>
     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 [1] char  -  Ctrl-D, Ctrl-R
     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) [2]
     SWMAP  Switch input keymap   -  Ctrl-^ (if compiled in)

<a name=
"TASpecial">Special commands for use only in textarea fields</a>[3]:

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

[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 <a rel="Sibling" title="Bash-Like Binding"
href="bashlike_edit_help.html">Bash-Like</a> Binding.
</pre>
</body>
</html>