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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
<!-- $LynxId: alt_edit_help.html,v 1.21 2021/07/01 21:02:38 tom Exp $ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 5.6.0">
<title>Lynx Line Editor Alternative Key Binding</title>
<link rev="made" href="mailto:lynx-dev@nongnu.org">
<link rel="Sibling" title="Default Binding" href=
"edit_help.html">
<link rel="Sibling" title="Bash-Like Binding" href=
"bashlike_edit_help.html">
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
<meta name="description" content=
"Describes an alternative set of line editor bindings for Lynx. This is one of the alternate bindings normally compiled-in">
</head>
<body>
<div class="nav">
<ul>
<li><a href="#overview">Overview</a></li>
<li><a href="#alternate_bindings">Table of key-bindings</a></li>
<li><a href="#notes">Notes</a></li>
</ul>
</div>
<h2><a name="overview" id="overview">Overview</a></h2>
<p><strong>Lynx</strong> invokes a built-in <a href=
"edit_help.html">Line Editor</a> for entering strings in response
to prompts, in forms, and for email messages if an external
editor has not been defined. Additional alternative key-bindings
can be offered by configuring with
<code>--enable-alt-bindings</code> or by adding them in
LYEditmap.c before compiling <strong>Lynx</strong>. If available,
they may be selected via the “o”ptions menu, or by
editing lineedit_mode in the “.lynxrc” file.</p>
<p><strong><em>Note:</em></strong> setting emacs/vi keys ON has
no direct effect on line-editor bindings.</p>
<h2><a name="alternate_bindings" id="alternate_bindings">Table of
key-bindings</a></h2>
<p>This is the <em>Alternative 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, Ctrl-B
FORW Cursor forward char - Right-Arrow, Ctrl-F
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 - Backspace, Delete, Remove
DELN Delete next char - Ctrl-D (<em><a href=
"#note_1">see note 1</a></em>)
DELPW Delete prev word - Ctrl-R
DELNW Delete next word - Ctrl-T
DELEL Delete to end of line - Ctrl-K
UPPER Upper case the line - Ctrl-^
LOWER Lower case the line - Ctrl-_
LKCMD Invoke cmd prompt - Ctrl-V (in form text fields, only) (<em><a href="#note_2">see note 2</a></em>)
<a name="TASpecial" id=
"TASpecial">Special commands for use only in textarea fields</a> (<em><a href="#note_3">see note 3</a></em>):
Textarea external edit - Ctrl-X e
Insert file in textarea - Ctrl-X i
Grow textarea - Ctrl-X g
</pre>
<h2><a name="emacs_bindings" id="emacs_bindings">Emacs-like
commands</a></h2>
<pre>
TPOS Transpose characters - Ctrl-t
SETMARK Set mark at current position in line - Ctrl-@
XPMARK Exchange current position with mark - Ctrl-x Ctrl-x
KILLREG Kill region between mark and position - Ctrl-x Ctrl-w (<em><a href="#note_3">see note 3</a></em>)
YANK Insert text last killed (with KILLREG) - Ctrl-y
</pre>
<h2><a name="examples" id="examples">Try it yourself</a></h2>
<p>Here is a little textarea for practice:</p>
<form action="">
<p>
<textarea name="practice" cols="40" rows=
"5">This text cannot be submitted. Normally lines like
these would be part of a form that is filled out and
then submitted. You can move around here and delete
or add text as you like, using the Line-Editor keys.
</textarea><input type="reset" value="[reset content]">
</p>
</form>
<h2><a name="special_keys" id="special_keys">Special keys</a></h2>
<p>See the <em><a href="edit_help.html#special_keys">Lynx Line
Editor</a></em> page for an explanation of terminology and
key-names.</p>
<h2><a name="notes" id="notes">Notes</a></h2>
<ol>
<li id="note_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.</li>
<li id="note_2">Follow Ctrl-V with any recognized key command,
to "escape" from a text input field.</li>
<li id="note_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.</li>
</ol>
</body>
</html>
|