ELINKSKEYS(5) | ELinks keybindings | ELINKSKEYS(5) |
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 ~/.config/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>
<keystroke>
<action>
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).
KEYMAP ACTIONS
MAIN ACTIONS
abort-connection
add-bookmark
add-bookmark-link
add-bookmark-tabs
auth-manager
backspace-prefix
bookmark-manager
cache-manager
cache-minimize
clean-temporary-files
cookie-manager
cookies-load
copy-clipboard
document-info
download-manager
exmode
file-menu
find-next
find-next-back
forget-credentials
formhist-manager
frame-external-command
frame-maximize
frame-next
frame-prev
goto-url
goto-url-current
goto-url-current-link
goto-url-home
header-info
history-manager
history-move-back
history-move-forward
jump-to-link
keybinding-manager
kill-backgrounded-connections
link-dialog
link-download
link-download-image
link-download-resume
link-external-command
link-follow
link-follow-reload
link-info
link-menu
link-form-menu
lua-console
macro-0
macro-1
macro-2
macro-3
macro-4
macro-5
macro-6
macro-7
macro-8
macro-9
mark-clipboard
mark-goto
mark-set
menu
move-current-top
move-cursor-down
move-cursor-left
move-cursor-line-start
move-cursor-right
move-cursor-up
move-document-end
move-document-start
move-half-page-down
move-half-page-up
move-link-down
move-link-down-line
move-link-left
move-link-left-line
move-link-next
move-link-prev
move-link-right
move-link-right-line
move-link-up
move-link-up-line
move-page-down
move-page-up
open-link-in-new-tab
open-link-in-new-tab-in-background
open-link-in-new-window
open-new-tab
open-new-tab-in-background
open-new-window
open-os-shell
options-manager
quit
really-quit
redraw
reload
rerender
reset-form
resource-info
save-as
save-formatted
save-options
save-url-as
scroll-down
scroll-left
scroll-right
scroll-up
search
search-back
search-typeahead
search-typeahead-link
search-typeahead-text
search-typeahead-text-back
show-term-options
submit-form
submit-form-reload
tab-close
tab-close-all-but-current
tab-external-command
tab-menu
tab-move-left
tab-move-right
tab-next
tab-prev
terminal-resize
toggle-css
toggle-display-images
toggle-display-tables
toggle-document-colors
toggle-document-width
toggle-ecmascript
toggle-html-plain
toggle-mouse
toggle-numbered-links
toggle-plain-compress-empty-lines
toggle-wrap-text
view-image
EDIT ACTIONS
auto-complete
auto-complete-file
auto-complete-unambiguous
backspace
beginning-of-buffer
cancel
copy-clipboard
cut-clipboard
delete
down
end
end-of-buffer
enter
home
kill-to-bol
kill-to-eol
kill-word-back
left
move-backward-word
move-forward-word
next-item
open-external
paste-clipboard
previous-item
redraw
right
search-toggle-regex
up
MENU ACTIONS
cancel
delete
down
end
enter
expand
home
left
mark-item
next-item
page-down
page-up
previous-item
redraw
right
search
select
unexpand
up
DEFAULT BINDINGS
The default bindings are shown below. Any bindings in ~/.config/elinks/elinks.conf will override these.
MAIN KEYS
Space
"#"
"%"
"*"
","
"."
"/"
":"
"<"
Alt-"<"
"="
">"
Alt-">"
"?"
"A"
Ctrl-"A"
Ctrl-"B"
"C"
"D"
"E"
Ctrl-"E"
"F"
Ctrl-"F"
"G"
"H"
"K"
Ctrl-"K"
"L"
Ctrl-"L"
"M"
"N"
Ctrl-"N"
Ctrl-"P"
"Q"
Ctrl-"R"
"T"
"W"
"["
"'"
"\"
"]"
"a"
"b"
"c"
"d"
"e"
"f"
"g"
"h"
"k"
"l"
"m"
"n"
"o"
"q"
"r"
"s"
"t"
"u"
"v"
"x"
"z"
"{"
"|"
"}"
Backspace
Delete
Down
End
Enter
Ctrl-Enter
Escape
F10
F9
Home
Insert
Ctrl-Insert
Left
PageDown
PageUp
Right
Ctrl-Right
Tab
Alt-Tab
Shift-Tab
Up
EDIT KEYS
Alt-"<"
Alt-">"
Ctrl-"A"
Alt-"b"
Ctrl-"D"
Ctrl-"E"
Alt-"f"
Ctrl-"H"
Ctrl-"K"
Ctrl-"L"
Alt-"r"
Ctrl-"F"
Ctrl-"R"
Ctrl-"T"
Ctrl-"U"
Ctrl-"V"
Ctrl-"W"
Ctrl-"X"
Alt-Backspace
Backspace
Delete
Down
End
Enter
Escape
F4
Home
Ctrl-Insert
Left
Right
Tab
Alt-Tab
Shift-Tab
Up
MENU KEYS
Space
"*"
"+"
"-"
"/"
"="
Ctrl-"A"
Ctrl-"B"
Ctrl-"E"
Ctrl-"F"
Ctrl-"L"
Ctrl-"N"
Ctrl-"P"
Alt-"V"
Ctrl-"V"
"["
"]"
"_"
Delete
Down
End
Enter
Escape
Home
Insert
Left
PageDown
PageUp
Right
Tab
Alt-Tab
Shift-Tab
Up
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
10/28/2024 | ELinks 0.17.1.1 |