2006-01-12 05:08:18 -05:00
|
|
|
elinkskeys(5)
|
Redo the whole doc/ build thing
You can now use: make {all-docs,pdf,html,man,api,update-man}
instead of: make {all-docs,pdf-docs,html-docs,man-docs}
Away is building into separate dirs. This makes make able to actually get
dependencies right, since there are now a collection of 'common' build
rules, some of which have even been moved to use the cmd infrastructure.
To update the man pages there is a new update-man rule. It builds the
manual pages and copies them to their proper place under man/ while doing
the final preformatting.
As good thing is that the (two) man pages are moved to .txt files and
include the generated content.
The API building thing is also refined. It builds into api/ and builds it's
list of files dynamically by searching throught the .h files in the src/
directory. Documented header files must contain a comment like this:
/* API Doc :: <api-name> */
where <api-name> is the name used for the file under api/, for example
dom-scanner.
2006-01-11 05:02:43 -05:00
|
|
|
=============
|
2006-01-12 04:30:25 -05:00
|
|
|
:Description: ELinks keybindings
|
Redo the whole doc/ build thing
You can now use: make {all-docs,pdf,html,man,api,update-man}
instead of: make {all-docs,pdf-docs,html-docs,man-docs}
Away is building into separate dirs. This makes make able to actually get
dependencies right, since there are now a collection of 'common' build
rules, some of which have even been moved to use the cmd infrastructure.
To update the man pages there is a new update-man rule. It builds the
manual pages and copies them to their proper place under man/ while doing
the final preformatting.
As good thing is that the (two) man pages are moved to .txt files and
include the generated content.
The API building thing is also refined. It builds into api/ and builds it's
list of files dynamically by searching throught the .h files in the src/
directory. Documented header files must contain a comment like this:
/* API Doc :: <api-name> */
where <api-name> is the name used for the file under api/, for example
dom-scanner.
2006-01-11 05:02:43 -05:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
elinkskeys - keybindings for ELinks
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
Information on how to configure keybinding and overview of the default
|
|
|
|
keybindings.
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Key binding for elinks should be placed in the file `~/.elinks/elinks.conf`.
|
|
|
|
Note that any information regarding their format/structure may not be
|
|
|
|
up-to-date. If you will discover that, please feed us with a patch.
|
|
|
|
|
|
|
|
Key binding statements are of the form:
|
|
|
|
|
|
|
|
bind <keymap> <keystroke> = <action>
|
|
|
|
|
|
|
|
where:
|
|
|
|
|
|
|
|
<keymap>::
|
|
|
|
|
|
|
|
is 'main', 'edit', or 'menu'. The main keymap is used for general
|
|
|
|
browsing. The edit keymap is used for editing text fields. The menu
|
|
|
|
keymap is used for navigating menus.
|
|
|
|
|
|
|
|
<keystroke>::
|
|
|
|
|
2007-02-11 13:55:58 -05:00
|
|
|
is a case sensitive key, which you can prefix with 'Ctrl-', 'Alt-',
|
|
|
|
or both. 'Ctrl-' must be followed by an uppercase key. See below for
|
|
|
|
a list of valid keys.
|
Redo the whole doc/ build thing
You can now use: make {all-docs,pdf,html,man,api,update-man}
instead of: make {all-docs,pdf-docs,html-docs,man-docs}
Away is building into separate dirs. This makes make able to actually get
dependencies right, since there are now a collection of 'common' build
rules, some of which have even been moved to use the cmd infrastructure.
To update the man pages there is a new update-man rule. It builds the
manual pages and copies them to their proper place under man/ while doing
the final preformatting.
As good thing is that the (two) man pages are moved to .txt files and
include the generated content.
The API building thing is also refined. It builds into api/ and builds it's
list of files dynamically by searching throught the .h files in the src/
directory. Documented header files must contain a comment like this:
/* API Doc :: <api-name> */
where <api-name> is the name used for the file under api/, for example
dom-scanner.
2006-01-11 05:02:43 -05:00
|
|
|
|
|
|
|
<action>::
|
|
|
|
|
|
|
|
is what the key should do. The actions available are dependent on the
|
|
|
|
keymap, and are listed separately below.
|
|
|
|
|
|
|
|
All words/strings may all be quoted "like so". Backslashes are escape
|
|
|
|
characters, even if not between quotes. Lines beginning with a hash character
|
|
|
|
(`#`) are comments.
|
|
|
|
|
|
|
|
Keys can be unbound just by binding them to the special 'none' action. It may
|
|
|
|
be of use if you accidentally type a key often.
|
|
|
|
|
|
|
|
EXAMPLE BINDINGS
|
|
|
|
----------------
|
|
|
|
|
|
|
|
Some sample keybindings:
|
|
|
|
|
|
|
|
bind "main" "v" = "view-image"
|
|
|
|
bind "main" "l" = "jump-to-link"
|
|
|
|
bind "main" "L" = "link-menu"
|
|
|
|
bind "main" "F10" = "file-menu"
|
|
|
|
bind "main" "F9" = "menu"
|
|
|
|
bind "main" "Escape" = "menu"
|
|
|
|
bind "edit" "Ctrl-R" = "auto-complete-unambiguous"
|
|
|
|
bind "edit" "Ctrl-W" = "auto-complete"
|
|
|
|
bind "edit" "Ctrl-K" = "kill-to-eol"
|
|
|
|
bind "menu" "Ctrl-B" = "page-up"
|
|
|
|
bind "menu" "PageUp" = "page-up"
|
|
|
|
bind "menu" "Ctrl-F" = "page-down"
|
|
|
|
bind "menu" "PageDown" = "page-down"
|
|
|
|
# ELinks with Lua support
|
|
|
|
bind "main" "," = "lua-console"
|
|
|
|
|
|
|
|
KEYS
|
|
|
|
----
|
|
|
|
|
|
|
|
Valid keys are: alphanumeric characters, punctuation, 'Enter', 'Backspace',
|
|
|
|
'Tab', 'Escape', 'Left', 'Right', 'Up', 'Down', 'Insert', 'Delete', 'Home',
|
|
|
|
'End', 'PageUp', 'PageDown', 'F1' to 'F12'.
|
|
|
|
|
|
|
|
Some keys will need to be quoted or escaped. For example, space can be written
|
|
|
|
as `" "` (quote space quote), and the quote itself as `\"` (backslash quote).
|
|
|
|
Backslash can be written as `\\` (double backslash).
|
|
|
|
|
2006-01-14 13:24:46 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
FIXME:
|
|
|
|
|
|
|
|
- You may prefix each of these keys with a number, telling its repeat count
|
|
|
|
(how many times to do it). You can also re-bind keys, see elinkskeys(5) for
|
|
|
|
documentation and a more complete list of keys bound by default.
|
|
|
|
|
|
|
|
- The following keys can be used while editing a line/jumping to a URL
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
Redo the whole doc/ build thing
You can now use: make {all-docs,pdf,html,man,api,update-man}
instead of: make {all-docs,pdf-docs,html-docs,man-docs}
Away is building into separate dirs. This makes make able to actually get
dependencies right, since there are now a collection of 'common' build
rules, some of which have even been moved to use the cmd infrastructure.
To update the man pages there is a new update-man rule. It builds the
manual pages and copies them to their proper place under man/ while doing
the final preformatting.
As good thing is that the (two) man pages are moved to .txt files and
include the generated content.
The API building thing is also refined. It builds into api/ and builds it's
list of files dynamically by searching throught the .h files in the src/
directory. Documented header files must contain a comment like this:
/* API Doc :: <api-name> */
where <api-name> is the name used for the file under api/, for example
dom-scanner.
2006-01-11 05:02:43 -05:00
|
|
|
KEYMAP ACTIONS
|
|
|
|
--------------
|
|
|
|
|
2006-01-15 18:18:39 -05:00
|
|
|
include::{builddir}keymap-actions.txt[]
|
Redo the whole doc/ build thing
You can now use: make {all-docs,pdf,html,man,api,update-man}
instead of: make {all-docs,pdf-docs,html-docs,man-docs}
Away is building into separate dirs. This makes make able to actually get
dependencies right, since there are now a collection of 'common' build
rules, some of which have even been moved to use the cmd infrastructure.
To update the man pages there is a new update-man rule. It builds the
manual pages and copies them to their proper place under man/ while doing
the final preformatting.
As good thing is that the (two) man pages are moved to .txt files and
include the generated content.
The API building thing is also refined. It builds into api/ and builds it's
list of files dynamically by searching throught the .h files in the src/
directory. Documented header files must contain a comment like this:
/* API Doc :: <api-name> */
where <api-name> is the name used for the file under api/, for example
dom-scanner.
2006-01-11 05:02:43 -05:00
|
|
|
|
|
|
|
DEFAULT BINDINGS
|
|
|
|
----------------
|
|
|
|
|
|
|
|
The default bindings are shown below. Any bindings in `~/.elinks/elinks.conf`
|
|
|
|
will override these.
|
|
|
|
|
2006-01-15 18:18:39 -05:00
|
|
|
include::{builddir}keymap-defaults.txt[]
|
Redo the whole doc/ build thing
You can now use: make {all-docs,pdf,html,man,api,update-man}
instead of: make {all-docs,pdf-docs,html-docs,man-docs}
Away is building into separate dirs. This makes make able to actually get
dependencies right, since there are now a collection of 'common' build
rules, some of which have even been moved to use the cmd infrastructure.
To update the man pages there is a new update-man rule. It builds the
manual pages and copies them to their proper place under man/ while doing
the final preformatting.
As good thing is that the (two) man pages are moved to .txt files and
include the generated content.
The API building thing is also refined. It builds into api/ and builds it's
list of files dynamically by searching throught the .h files in the src/
directory. Documented header files must contain a comment like this:
/* API Doc :: <api-name> */
where <api-name> is the name used for the file under api/, for example
dom-scanner.
2006-01-11 05:02:43 -05:00
|
|
|
|
|
|
|
AUTHOR
|
|
|
|
------
|
|
|
|
|
|
|
|
This manual page was finally written by Peter Wang (one and a half years after
|
|
|
|
writing the binding code), using excerpts by David Mediavilla. You can thank
|
|
|
|
Petr Baudis for the subtle requests for documentation. Updated by Zas. Moved
|
|
|
|
to asciidoc format and cleaned up by Jonas Fonseca.
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
|
2006-01-12 02:33:50 -05:00
|
|
|
man:elinks[1], man:elinks.conf[5]
|