LINKSKEYS
NAME SYNOPSIS DESCRIPTION KEYS MAIN KEYMAP ACTIONS EDIT KEYMAP ACTIONS MENU KEYMAP ACTIONS DEFAULT BINDINGS FILES AUTHOR SEE ALSO
linkskeys - links WWW browser key bindings
/.links/user.cfg
Key bindings for links should be placed in a file called /.links/user.cfg. This file will be read from but not written to, so you may put comments in there.
Key binding statements are of the form:
bind keymap keystroke action
where:
keymap
is main, edit, or menu.
keystroke
is a case sensitive key, which you can prefix with Ctrl- or Alt-. Ctrl- must be followed by an uppercase key. See below for a list of valid keys.
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
Key can be unbound using the unbind statement.
unbind keymap keystroke
It may be of use if you accidentally type a key often.
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
The main keymap is used for general browsing.
add-bookmark
Open a dialog box to add a new bookmark.
back
Return to the previous page.
bookmark-manager
Open the bookmark manager dialog.
cookies-load
??? Reload cookies file. (ELinks only) [unrenderable node]
copy-clipboard
Copy the current link to the clipboard.
document-info
Show some information about the current page.
down
Move cursor downwards.
download
Start downloading the current link.
end
Go to the end of the page.
enter
Follow the current link.
file-menu
Open the File menu.
find-next
Find the next occurrence of the current search text.
find-next-back
Find the next occurrence of the current search text, in reverse.
goto-url
Open a
goto-url-current
Open a
goto-url-current-link
Open a
header-info
Show the current page header information.
home
Go to the start of the page.
lua-console
Open a Lua Console dialog box. Only available if Lua scripting support has been compiled in (Links-Lua and ELinks).
menu
Activate the menu.
next-frame
Move to the next frame.
open-new-window
Open a new instace of links in a new window.
open-link-in-new-window
Open the current link in a new instance of links in a new window.
page-down
Move downwards by a page.
page-up
Move upwards by a page.
paste-clipboard
Paste text from the clipboard.
previous-frame
Move to the previous frame.
quit
Open a quit confirmation dialog box.
really-quit
Quit without confirmation. Not in links 0.96.
reload
Reload the current page.
scroll-down
Scroll the viewing window downwards.
scroll-left
Scroll the viewing window to the left.
scroll-right
Scroll the viewing window to the right.
scroll-up
Scroll the viewing window upwards.
search
Search for some text.
search-back
Search for some text, in reverse.
toggle-display-images
Toggle whether to display links to images.
toggle-display-tables
Toggle whether to render tables.
toggle-html-plain
Toggles between rendering the current page as HTML or plaintext.
unback
Go forwards in unhistory. (ELinks only)
up
Move cursor upwards.
view-image
View the image under the cursor.
zoom-frame
Show the current frame using the entire screen.
The edit keymap is used for editing text fields.
up
down
left
right
home
end
backspace
delete
kill-to-bol
Delete text from cursor to beginning of line.
kill-to-eol
Delete text from cursor to end of line.
auto-complete
enter
copy-clipboard
cut-clipboard
paste-clipboard
edit
Edit the current textarea in an external text editor. (ELinks only)
The menu keymap is used for navigating menus.
left
right
up
down
home
end
page-up
page-down
The default bindings are shown below. Any bindings in user.cfg will override these. This list is given as an example, and may not be up to date.
bind main !PageDown page-down bind main
/etc/links.cfg Site-wide configuration file.
/.links/user.cfg Per-user configuration file, loaded after site-wide configuration.
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..
2 pages link to linkskeys(5):