elinkskeys - keybindings for ELinks
Key bindings for elinks should be placed in a file called ~/.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:
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 "none" action. 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 " " (quote space quote), and the quote itself as \" (backslash quote). Backslash can be written as \\ (double backslash).
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.
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:
The default bindings are shown below. Any bindings in elinks.conf will override these. This list is given as an example, and may not be up to date.
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 "main" "Tab" = "next-frame" bind "main" "*" = "toggle-display-images" bind "main" "." = "toggle-numbered-links" bind "main" "\\" = "toggle-html-plain" bind "main" "<" = "tab-prev" bind "main" ">" = "tab-next" bind "main" "c" = "tab-close" bind "main" "|" = "header-info" bind "main" "=" = "document-info" bind "main" "Q" = "really-quit" bind "main" "q" = "quit" bind "main" "Ctrl-K" = "cookies-load" bind "main" "k" = "keybinding-manager" bind "main" "o" = "options-manager" bind "main" "h" = "history-manager" bind "main" "S" = "bookmark-manager" bind "main" "s" = "bookmark-manager" bind "main" "A" = "add-bookmark-link" bind "main" "a" = "add-bookmark" bind "main" "M" = "goto-url-home" bind "main" "m" = "goto-url-home" bind "main" "H" = "goto-url-home" bind "main" "G" = "goto-url-current" bind "main" "g" = "goto-url" bind "main" "E" = "goto-url-current-link" bind "main" "Ctrl-R" = "reload" bind "main" "F" = "zoom-frame" bind "main" "f" = "zoom-frame" bind "main" "N" = "find-next-back" bind "main" "n" = "find-next" bind "main" "?" = "search-back" bind "main" "/" = "search" bind "main" "z" = "abort-connection" bind "main" "R" = "resume-download" bind "main" "r" = "resume-download" bind "main" "D" = "download" bind "main" "d" = "download" bind "main" "U" = "unback" bind "main" "u" = "unback" bind "main" "Left" = "back" bind "main" "x" = "enter-reload" bind "main" "Ctrl-Enter" = "enter-reload" bind "main" "Ctrl-Right" = "enter-reload" bind "main" "Enter" = "enter" bind "main" "Right" = "enter" bind "main" "Ctrl-E" = "end" bind "main" "End" = "end" bind "main" "Ctrl-A" = "home" bind "main" "Home" = "home" bind "main" "}" = "scroll-right" bind "main" "{" = "scroll-left" bind "main" "]" = "scroll-right" bind "main" "[" = "scroll-left" bind "main" "Ctrl-N" = "scroll-down" bind "main" "Delete" = "scroll-down" bind "main" "Ctrl-P" = "scroll-up" bind "main" "Insert" = "scroll-up" bind "main" "Ctrl-C" = "copy-clipboard" bind "main" "Ctrl-Insert" = "copy-clipboard" bind "main" "Up" = "up" bind "main" "Down" = "down" bind "main" "Ctrl-B" = "page-up" bind "main" "B" = "page-up" bind "main" "b" = "page-up" bind "main" "PageUp" = "page-up" bind "main" "Ctrl-F" = "page-down" bind "main" " " = "page-down" bind "main" "PageDown" = "page-down" bind "edit" "Ctrl-R" = "auto-complete-unambiguous" bind "edit" "Ctrl-W" = "auto-complete" bind "edit" "Ctrl-K" = "kill-to-eol" bind "edit" "Ctrl-U" = "kill-to-bol" bind "edit" "Ctrl-D" = "delete" bind "edit" "Delete" = "delete" bind "edit" "Ctrl-H" = "backspace" bind "edit" "Backspace" = "backspace" bind "edit" "Enter" = "enter" bind "edit" "Ctrl-V" = "paste-clipboard" bind "edit" "Ctrl-X" = "cut-clipboard" bind "edit" "Ctrl-C" = "copy-clipboard" bind "edit" "Ctrl-Insert" = "copy-clipboard" bind "edit" "Ctrl-T" = "edit" bind "edit" "F4" = "edit" bind "edit" "Ctrl-E" = "end" bind "edit" "End" = "end" bind "edit" "Down" = "down" bind "edit" "Up" = "up" bind "edit" "Ctrl-A" = "home" bind "edit" "Home" = "home" bind "edit" "Right" = "right" bind "edit" "Left" = "left" bind "menu" "Ctrl-B" = "page-up" bind "menu" "PageUp" = "page-up" bind "menu" "Ctrl-F" = "page-down" bind "menu" "PageDown" = "page-down" bind "menu" "Enter" = "enter" bind "menu" "Ctrl-E" = "end" bind "menu" "End" = "end" bind "menu" "Down" = "down" bind "menu" "Up" = "up" bind "menu" "Ctrl-A" = "home" bind "menu" "Home" = "home" bind "menu" "Right" = "right" bind "menu" "Left" = "left" # ELinks with Lua support bind "main" "," = "lua-console"
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 docbook format and cleaned up by Jonas.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |