1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2
2
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
5
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
6
<meta name="generator" content="AsciiDoc 7.0.0"/>
5
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
<meta name="generator" content="AsciiDoc 7.1.2" />
7
7
<style type="text/css">
9
9
p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
254
263
border-left: 2px solid silver;
255
264
padding-left: 0.5em;
257
/* Overrides for manpage documents */
260
padding-bottom: 0.5em;
261
border-top: 2px solid silver;
262
border-bottom: 2px solid silver;
271
<title>elinkskeys</title>
267
<title>elinkskeys(5)</title>
274
270
<div id="header">
290
286
<h2>DESCRIPTION</h2>
291
287
<div class="sectionbody">
292
<p>Key binding for elinks should be placed in the file <span class="monospaced">~/.elinks/elinks.conf</span>.
288
<p>Key binding for elinks should be placed in the file <tt>~/.elinks/elinks.conf</tt>.
293
289
Note that any information regarding their format/structure may not be
294
290
up-to-date. If you will discover that, please feed us with a patch.</p>
295
291
<p>Key binding statements are of the form:</p>
296
292
<div class="literalblock">
297
293
<div class="content">
298
<pre><span class="monospaced">bind <keymap> <keystroke> = <action></span></pre>
294
<pre><tt>bind <keymap> <keystroke> = <action></tt></pre>
307
is <span class="emphasis">main</span>, <span class="emphasis">edit</span>, or <span class="emphasis">menu</span>. The main keymap is used for general
303
is <em>main</em>, <em>edit</em>, or <em>menu</em>. The main keymap is used for general
308
304
browsing. The edit keymap is used for editing text fields. The menu
309
305
keymap is used for navigating menus.
317
is a case sensitive key, which you can prefix with <span class="emphasis">Ctrl-</span> or <span class="emphasis">Alt-</span>.
318
<span class="emphasis">Ctrl-</span> must be followed by an uppercase key. See below for a list of
313
is a case sensitive key, which you can prefix with <em>Ctrl-</em>, <em>Alt-</em>,
314
or both. <em>Ctrl-</em> must be followed by an uppercase key. See below for
315
a list of valid keys.
332
328
<p>All words/strings may all be quoted "like so". Backslashes are escape
333
329
characters, even if not between quotes. Lines beginning with a hash character
334
(<span class="monospaced">#</span>) are comments.</p>
335
<p>Keys can be unbound just by binding them to the special <span class="emphasis">none</span> action. It may
330
(<tt>#</tt>) are comments.</p>
331
<p>Keys can be unbound just by binding them to the special <em>none</em> action. It may
336
332
be of use if you accidentally type a key often.</p>
338
334
<h2>EXAMPLE BINDINGS</h2>
340
336
<p>Some sample keybindings:</p>
341
337
<div class="literalblock">
342
338
<div class="content">
343
<pre><span class="monospaced">bind "main" "v" = "view-image"
339
<pre><tt>bind "main" "v" = "view-image"
344
340
bind "main" "l" = "jump-to-link"
345
341
bind "main" "L" = "link-menu"
346
342
bind "main" "F10" = "file-menu"
354
350
bind "menu" "Ctrl-F" = "page-down"
355
351
bind "menu" "PageDown" = "page-down"
356
352
# ELinks with Lua support
357
bind "main" "," = "lua-console"</span></pre>
353
bind "main" "," = "lua-console"</tt></pre>
361
357
<div class="sectionbody">
362
<p>Valid keys are: alphanumeric characters, punctuation, <span class="emphasis">Enter</span>, <span class="emphasis">Backspace</span>,
363
<span class="emphasis">Tab</span>, <span class="emphasis">Escape</span>, <span class="emphasis">Left</span>, <span class="emphasis">Right</span>, <span class="emphasis">Up</span>, <span class="emphasis">Down</span>, <span class="emphasis">Insert</span>, <span class="emphasis">Delete</span>, <span class="emphasis">Home</span>,
364
<span class="emphasis">End</span>, <span class="emphasis">PageUp</span>, <span class="emphasis">PageDown</span>, <span class="emphasis">F1</span> to <span class="emphasis">F12</span>.</p>
358
<p>Valid keys are: alphanumeric characters, punctuation, <em>Enter</em>, <em>Backspace</em>,
359
<em>Tab</em>, <em>Escape</em>, <em>Left</em>, <em>Right</em>, <em>Up</em>, <em>Down</em>, <em>Insert</em>, <em>Delete</em>, <em>Home</em>,
360
<em>End</em>, <em>PageUp</em>, <em>PageDown</em>, <em>F1</em> to <em>F12</em>.</p>
365
361
<p>Some keys will need to be quoted or escaped. For example, space can be written
366
as <span class="monospaced">" "</span> (quote space quote), and the quote itself as <span class="monospaced">\"</span> (backslash quote).
367
Backslash can be written as <span class="monospaced">\\</span> (double backslash).</p>
362
as <tt>" "</tt> (quote space quote), and the quote itself as <tt>\"</tt> (backslash quote).
363
Backslash can be written as <tt>\\</tt> (double backslash).</p>
369
365
<h2>KEYMAP ACTIONS</h2>
370
366
<div class="sectionbody">
1675
1703
<h2>DEFAULT BINDINGS</h2>
1676
1704
<div class="sectionbody">
1677
<p>The default bindings are shown below. Any bindings in <span class="monospaced">~/.elinks/elinks.conf</span>
1705
<p>The default bindings are shown below. Any bindings in <tt>~/.elinks/elinks.conf</tt>
1678
1706
will override these.</p>
1679
1707
<h3>MAIN KEYS</h3>
1680
1708
<div class="tableblock">