ELINKSKEYS(5)
โจ ELINKSKEYS(5): keybindings for ELinks โจ
๐ NAME ๐
elinkskeys โ keybindings for ELinks. That's the name, bestie.
๐ธ SYNOPSIS ๐ธ
Info on how to configure keybinding, plus an overview of the default keybindings. Yes, both.
๐ DESCRIPTION ๐
Key binding for elinks should be placed in the file ~/.elinks/elinks.conf. Heads up: any info about their format/structure may not be up-to-date. If you discover that, please feed us with a patch ๐ซถ.
Key binding statements look like this:
bind <keymap> <keystroke> = <action>
where:
<keymap>โ ismain,edit, ormenu. Themainkeymap is used for general browsing. Theeditkeymap is used for editing text fields. Themenukeymap is used for navigating menus.<keystroke>โ is a case sensitive key, which you can prefix withCtrl-,Alt-, or both.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 "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. Iconic little escape hatch, honestly.
๐ฅ 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). Escape-coded and cute.
๐ฎ KEYMAP ACTIONS ๐ฎ
Okay bestie, this is the motherlode โ every single action you can glue to a key. The names go in backticks exactly how ELinks wants them, so copy-paste them into your elinks.conf and don't you dare typo them. ๐
โจ MAIN ACTIONS โจ
These are the big-league, page-level moves. Main character energy only. ๐
abort-connectionโ Slams the brakes on the connection. Bye. ๐add-bookmarkโ Adds a shiny new bookmark.add-bookmark-linkโ Bookmarks the link you're currently on.add-bookmark-tabsโ Bookmarks, like, every open tab at once. Tabs on tabs. ๐๏ธauth-managerโ Opens the authentication manager.backspace-prefixโ Deletes the last digit you typed into the current prefix. Oops, undo. โซbookmark-managerโ Opens the bookmark manager.cache-managerโ Opens the cache manager.cache-minimizeโ Frees up cache entries that nobody's using. Spring cleaning, but for memory. ๐งนcookie-managerโ Opens the cookie manager. ๐ช (the file kind, not snack kind, sadly)cookies-loadโ Reloads the cookies file.copy-clipboardโ Copies the text to your clipboard. ๐document-infoโ Shows you all the deets about the page you're on.download-managerโ Opens the download manager.exmodeโ Drops you into ex-mode, aka the command line. Old school, iconic. โจ๏ธfile-menuโ Opens the File menu.find-nextโ Jumps to the next match of whatever search text you've got going.find-next-backโ Jumps to the previous match instead. Backwards but make it fashion. ๐forget-credentialsโ Yeets your authentication credentials into the void. ๐formhist-managerโ Opens the form history manager.frame-external-commandโ Hands the URI of the current frame over to an external command.frame-maximizeโ Maximizes the current frame. Glow-up. โจframe-nextโ Moves to the next frame.frame-prevโ Moves to the previous frame.goto-urlโ Opens the "Go to URL" dialog box.goto-url-currentโ Opens the "Go to URL" dialog box with the current URL already sitting in it. Convenient.goto-url-current-linkโ Opens the "Go to URL" dialog box pre-filled with the current link's URL.goto-url-homeโ Takes you home. ๐ (the homepage, specifically)header-infoโ Shows the protocol headers for the page you're on.history-managerโ Opens the history manager.history-move-backโ Goes back to the previous document in your history. ๐ฆhistory-move-forwardโ Goes forward in your history.jump-to-linkโ Jumps to a link.keybinding-managerโ Opens the keybinding manager. Where the magic gets wired up. ๐kill-backgrounded-connectionsโ Kills every backgrounded connection. No survivors. โ๏ธlink-downloadโ Downloads the current link.link-download-imageโ Downloads the current image.link-download-resumeโ Tries to pick up where the download of the current link left off. ๐link-external-commandโ Passes the current link's URI to an external command.link-followโ Follows the current link. Go go go. ๐link-follow-reloadโ Follows the current link and forces the target to reload.link-infoโ Shows you the info on the current link.link-menuโ Opens the link context menu.link-form-menuโ Opens the menu for form fields.lua-consoleโ Opens a Lua console. Fancy. ๐งโโ๏ธmark-gotoโ Jumps to a mark you specified.mark-setโ Sets a mark. ๐menuโ Activates the menu.move-current-topโ Scrolls down so the current line ends up chillin' at the top of the screen.move-cursor-downโ Cursor goes down. โฌ๏ธmove-cursor-leftโ Cursor goes left. โฌ ๏ธmove-cursor-line-startโ Cursor hops to the start of the line.move-cursor-rightโ Cursor goes right. โก๏ธmove-cursor-upโ Cursor goes up. โฌ๏ธmove-document-endโ Zips to the end of the document.move-document-startโ Zips to the start of the document.move-half-page-downโ Scrolls down half a page.move-half-page-upโ Scrolls up half a page.move-link-downโ Hops down one link.move-link-down-lineโ Goes to the next line that actually has a link on it.move-link-leftโ Hops one link to the left.move-link-left-lineโ Goes one link left, or to the previous link if there's nothing to the left.move-link-nextโ Moves to the next link.move-link-prevโ Moves to the previous link.move-link-rightโ Hops one link right.move-link-right-lineโ Goes one link right, or to the next link if there's nothing to the right.move-link-upโ Hops up one link.move-link-up-lineโ Goes to the previous line that has a link on it.move-page-downโ Scrolls down a whole page.move-page-upโ Scrolls up a whole page.open-link-in-new-tabโ Opens the current link in a brand-new tab. ๐open-link-in-new-tab-in-backgroundโ Opens the current link in a new tab, but quietly, in the background.open-link-in-new-windowโ Opens the current link in a new window.open-new-tabโ Opens a new tab.open-new-tab-in-backgroundโ Opens a new tab in the background, no drama.open-new-windowโ Opens a new window.open-os-shellโ Opens an OS shell. Escaping the browser entirely, respect. ๐options-managerโ Opens the options manager.quitโ Opens the "are you sure you wanna quit" dialog box. ๐ญreally-quitโ Quits with zero confirmation. No thoughts, just exit. ๐redrawโ Redraws the terminal.reloadโ Reloads the current page.rerenderโ Re-renders the current page.reset-formโ Puts all the form items back to their original values.resource-infoโ Shows info about the resources currently in use.save-asโ Saves the current document in source form.save-formattedโ Saves the current document in formatted form.save-optionsโ Saves your options. Don't lose the progress. ๐พsave-url-asโ Saves the URL as.scroll-downโ Scrolls down.scroll-leftโ Scrolls left.scroll-rightโ Scrolls right.scroll-upโ Scrolls up.searchโ Searches for a text pattern. ๐search-backโ Searches backwards for a text pattern.search-typeaheadโ Searches link text by typing ahead.search-typeahead-linkโ Searches link text by typing ahead. (yes, same vibe as the one above)search-typeahead-textโ Searches document text by typing ahead.search-typeahead-text-backโ Searches document text backwards by typing ahead.show-term-optionsโ Shows the terminal options dialog.submit-formโ Submits the form. Send it. ๐จsubmit-form-reloadโ Submits the form and reloads.tab-closeโ Closes the tab.tab-close-all-but-currentโ Closes every tab except the one you're on. Ruthless. ๐tab-external-commandโ Passes the current tab's URI to an external command.tab-menuโ Opens the tab menu.tab-move-leftโ Shuffles the current tab one spot to the left.tab-move-rightโ Shuffles the current tab one spot to the right.tab-nextโ Next tab.tab-prevโ Previous tab.terminal-resizeโ Opens the terminal resize dialog.toggle-cssโ Toggles whether the page renders with CSS or not. โจ (vs ๐ฟ)toggle-display-imagesโ Toggles whether links to images get displayed.toggle-display-tablesโ Toggles table rendering.toggle-document-colorsโ Toggles the use of document-specific colors.toggle-html-plainโ Toggles between rendering the page as HTML and as plain text.toggle-mouseโ Toggles mouse handling. ๐ฑ๏ธtoggle-numbered-linksโ Toggles whether link numbers are displayed.toggle-plain-compress-empty-linesโ Toggles the plain renderer's compression of empty lines.toggle-wrap-textโ Toggles text wrapping.view-imageโ Views the current image. ๐ผ๏ธ
โ๏ธ EDIT ACTIONS โ๏ธ
For when you're actually typing in a box โ search bars, form fields, that kind of thing. Cursor girlies, this one's for you. ๐
auto-completeโ Tries to auto-complete whatever you're typing.auto-complete-fileโ Tries to auto-complete a local file path.auto-complete-unambiguousโ Tries to auto-complete your input in a way that's unambiguous. No maybes. ๐ฏbackspaceโ Deletes the character in front of the cursor.beginning-of-bufferโ Jumps to the first line of the buffer.cancelโ Cancels the current state. Never mind! ๐ โโ๏ธcopy-clipboardโ Copies the text to your clipboard.cut-clipboardโ Cuts the text to your clipboard. โ๏ธdeleteโ Deletes the character under the cursor.downโ Moves the cursor downwards.endโ Goes to the end of the page/line.end-of-bufferโ Jumps to the last line of the buffer.enterโ Follows the current link. โhomeโ Goes to the start of the page/line.kill-to-bolโ Deletes everything back to the beginning of the line.kill-to-eolโ Deletes everything to the end of the line.kill-word-backโ Deletes backwards to the start of the word.leftโ Moves the cursor left.move-backward-wordโ Puts the cursor before the current word.move-forward-wordโ Puts the cursor after the current word.next-itemโ Moves to the next item.open-externalโ Opens in an external editor. ๐paste-clipboardโ Pastes the text from your clipboard.previous-itemโ Moves to the previous item.redrawโ Redraws the terminal.rightโ Moves the cursor right.search-toggle-regexโ Toggles regex matching for type-ahead searching. Fancy search mode: on. ๐งupโ Moves the cursor upwards.
๐ MENU ACTIONS ๐
Menus get their own little action set, because of course they do. Navigate 'em like a pro. ๐
cancelโ Cancels the current state.deleteโ Deletes the character under the cursor.downโ Moves the cursor downwards.endโ Goes to the end of the page/line.enterโ Follows the current link.expandโ Expands the item. ๐ธhomeโ Goes to the start of the page/line.leftโ Moves the cursor left.mark-itemโ Marks the item.next-itemโ Moves to the next item.page-downโ Moves downwards by a page.page-upโ Moves upwards by a page.previous-itemโ Moves to the previous item.redrawโ Redraws the terminal.rightโ Moves the cursor right.searchโ Searches for a text pattern.selectโ Selects the currently highlighted item. โunexpandโ Collapses the item. ๐ซงupโ Moves the cursor upwards.
๐ DEFAULT BINDINGS ๐
okay bestie, here's the whole starter pack โจ The default bindings are shown below, and โ important โ any bindings in ~/.elinks/elinks.conf will override these, so if something feels different than this list, check your config first, no cap ๐
๐ซถ MAIN KEYS ๐ซถ
the everyday keys, the main characters of your browsing session ๐
Spaceโ move downwards by a page (move-page-down)"#"โ search link text by typing ahead (search-typeahead)"%"โ toggle usage of document specific colors (toggle-document-colors)"*"โ toggle displaying of links to images (toggle-display-images)","โ open a Lua console (lua-console)"."โ toggle displaying of links numbers (toggle-numbered-links)"/"โ search for a text pattern (search)":"โ enter ex-mode (command line) (exmode)"<"โ previous tab (tab-prev)Alt-"<"โ move the current tab to the left (tab-move-left)"="โ show information about the current page (document-info)">"โ next tab (tab-next)Alt-">"โ move the current tab to the right (tab-move-right)"?"โ search backwards for a text pattern (search-back)"A"โ add a new bookmark using current link (add-bookmark-link)Ctrl-"A"โ move to the start of the document (move-document-start)Ctrl-"B"โ move upwards by a page (move-page-up)"C"โ open cache manager (cache-manager)"D"โ open download manager (download-manager)"E"โ open "Go to URL" dialog box containing the current link URL (goto-url-current-link)Ctrl-"E"โ move to the end of the document (move-document-end)"F"โ open form history manager (formhist-manager)Ctrl-"F"โ move downwards by a page (move-page-down)"G"โ open "Go to URL" dialog box containing the current URL (goto-url-current)"H"โ go to the homepage (goto-url-home)"K"โ open cookie manager (cookie-manager)Ctrl-"K"โ reload cookies file (cookies-load)"L"โ open the link context menu (link-menu)Ctrl-"L"โ redraw the terminal (redraw)"N"โ find the previous occurrence of the current search text (find-next-back)Ctrl-"N"โ scroll down (scroll-down)Ctrl-"P"โ scroll up (scroll-up)"Q"โ quit without confirmation (really-quit)Ctrl-"R"โ reload the current page (reload)"T"โ open the current link in a new tab in the background (open-link-in-new-tab-in-background)"W"โ toggle wrapping of text (toggle-wrap-text)"["โ scroll left (scroll-left)"ยด"โ go at a specified mark (mark-goto)"\"โ toggle rendering page as HTML / plain text (toggle-html-plain)"]"โ scroll right (scroll-right)"a"โ add a new bookmark (add-bookmark)"b"โ move upwards by a page (move-page-up)"c"โ close tab (tab-close)"d"โ download the current link (link-download)"e"โ open the tab menu (tab-menu)"f"โ maximize the current frame (frame-maximize)"g"โ open "Go to URL" dialog box (goto-url)"h"โ open history manager (history-manager)"k"โ open keybinding manager (keybinding-manager)"l"โ jump to link (jump-to-link)"m"โ set a mark (mark-set)"n"โ find the next occurrence of the current search text (find-next)"o"โ open options manager (options-manager)"q"โ open a quit confirmation dialog box (quit)"r"โ attempt to resume download of the current link (link-download-resume)"s"โ open bookmark manager (bookmark-manager)"t"โ open a new tab (open-new-tab)"u"โ go forward in history (history-move-forward)"v"โ view the current image (view-image)"x"โ follow the current link, forcing reload of the target (link-follow-reload)"z"โ abort connection (abort-connection)"{"โ scroll left (scroll-left)"|"โ show information about the current page protocol headers (header-info)"}"โ scroll right (scroll-right)Backspaceโ backspace the last entered digit of the current prefix (backspace-prefix)Deleteโ scroll down (scroll-down)Downโ move to the next link (move-link-next)Endโ move to the end of the document (move-document-end)Enterโ follow the current link (link-follow)Ctrl-Enterโ follow the current link, forcing reload of the target (link-follow-reload)Escapeโ activate the menu (menu)F10โ open the File menu (file-menu)F9โ activate the menu (menu)Homeโ move to the start of the document (move-document-start)Insertโ scroll up (scroll-up)Ctrl-Insertโ copy text to clipboard (copy-clipboard)Leftโ return to the previous document in history (history-move-back)PageDownโ move downwards by a page (move-page-down)PageUpโ move upwards by a page (move-page-up)Rightโ follow the current link (link-follow)Ctrl-Rightโ follow the current link, forcing reload of the target (link-follow-reload)Tabโ move to the next frame (frame-next)Alt-Tabโ move to the previous frame (frame-prev)Shift-Tabโ move to the previous frame (frame-prev)Upโ move to the previous link (move-link-prev)
โจ EDIT KEYS โจ
this is your text-input era, bestie โ every key you need the moment a cursor shows up ๐
Alt-"<"โ go to the first line of the buffer (beginning-of-buffer)Alt-">"โ go to the last line of the buffer (end-of-buffer)Ctrl-"A"โ go to the start of the page/line (home)Alt-"b"โ move cursor before current word (move-backward-word)Ctrl-"D"โ delete character under cursor (delete)Ctrl-"E"โ go to the end of the page/line (end)Alt-"f"โ move cursor after current word (move-forward-word)Ctrl-"H"โ delete character in front of the cursor (backspace)Ctrl-"K"โ delete to end of line (kill-to-eol)Ctrl-"L"โ redraw the terminal (redraw)Alt-"r"โ toggle regex matching (type-ahead searching) (search-toggle-regex)Ctrl-"F"โ attempt to auto-complete a local file (auto-complete-file)Ctrl-"R"โ attempt to unambiguously auto-complete the input (auto-complete-unambiguous)Ctrl-"T"โ open in external editor (open-external)Ctrl-"U"โ delete to beginning of line (kill-to-bol)Ctrl-"V"โ paste text from the clipboard (paste-clipboard)Ctrl-"W"โ attempt to auto-complete the input (auto-complete)Ctrl-"X"โ cut text to clipboard (cut-clipboard)Alt-Backspaceโ delete backwards to start of word (kill-word-back)Backspaceโ delete character in front of the cursor (backspace)Deleteโ delete character under cursor (delete)Downโ move cursor downwards (down)Endโ go to the end of the page/line (end)Enterโ follow the current link (enter)Escapeโ cancel current state (cancel)F4โ open in external editor (open-external)Homeโ go to the start of the page/line (home)Ctrl-Insertโ copy text to clipboard (copy-clipboard)Leftโ move the cursor left (left)Rightโ move the cursor right (right)Tabโ move to the next item (next-item)Alt-Tabโ move to the previous item (previous-item)Shift-Tabโ move to the previous item (previous-item)Upโ move cursor upwards (up)
๐ธ MENU KEYS ๐ธ
menus are literally their own little world, so here's the map ๐บ๏ธโจ
Spaceโ select current highlighted item (select)"*"โ mark item (mark-item)"+"โ expand item (expand)"-"โ collapse item (unexpand)"/"โ search for a text pattern (search)"="โ expand item (expand)Ctrl-"A"โ go to the start of the page/line (home)Ctrl-"B"โ move upwards by a page (page-up)Ctrl-"E"โ go to the end of the page/line (end)Ctrl-"F"โ move downwards by a page (page-down)Ctrl-"L"โ redraw the terminal (redraw)Ctrl-"N"โ move cursor downwards (down)Ctrl-"P"โ move cursor upwards (up)Alt-"V"โ move upwards by a page (page-up)Ctrl-"V"โ move downwards by a page (page-down)"["โ expand item (expand)"]"โ collapse item (unexpand)"_"โ collapse item (unexpand)Deleteโ delete character under cursor (delete)Downโ move cursor downwards (down)Endโ go to the end of the page/line (end)Enterโ follow the current link (enter)Escapeโ cancel current state (cancel)Homeโ go to the start of the page/line (home)Insertโ mark item (mark-item)Leftโ move the cursor left (left)PageDownโ move downwards by a page (page-down)PageUpโ move upwards by a page (page-up)Rightโ move the cursor right (right)Tabโ move to the next item (next-item)Alt-Tabโ move to the previous item (previous-item)Shift-Tabโ move to the previous item (previous-item)Upโ move cursor upwards (up)
๐ AUTHOR ๐
This manual page was finally written by Peter Wang (one and a half years after writing the binding code, no less ๐ญ iconic procrastination fr fr), 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. absolute legends, every one of them ๐ซถโจ
๐ SEE ALSO ๐
and that's the whole page, bestie โ you're officially a keybinding scholar ๐โจ this was ELinks 0.13.GIT, dated 03/29/2009 โ yes she's vintage, yes she still slays ๐๐ฆ go forth and press keys ๐ธ
๐ฆ where this page comes from
- debian bookworm: elinks-data 0.13.2-1 ยท GPL-2.0-only
- epel 10: elinks 0.20.0-1.el10_3 ยท GPL-2.0-only
- epel 9: elinks 0.20.0-1.el9 ยท GPL-2.0-only
- fedora 43: elinks 0.18.0-3.fc43 ยท GPL-2.0-only
- fedora 44: elinks 0.19.0-2.fc44 ยท GPL-2.0-only
- opensuse-leap 16.0: elinks 0.17.0-160000.2.2 ยท GPL-2.0-or-later
- opensuse-leap 16.0: elinks 0.17.0-160000.2.2 ยท GPL-2.0-or-later
- opensuse-leap 16.0: elinks 0.17.0-160000.2.2 ยท GPL-2.0-or-later
- opensuse-leap 16.0: elinks 0.17.0-160000.2.2 ยท GPL-2.0-or-later
- ubuntu jammy: elinks-data 0.13.2-1build3 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms