💾 Archived View for tilde.club › ~filip › tech › cheatsheet › lynx.gmi captured on 2022-07-16 at 13:46:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

lynx

Official Lynx Users Guide:

Lynx Users Guide v.2.8.9

For configuring `lynx.cfg` see:

lynx.cfg - Settings by alphabetic order

Navigation

                                   +-------+-------+-------+
                                   | TOP   |  /|\  | Page  |
                                   | of    |   |   | UP    |
	                               | text 7|   |  8|      9|
          +---------+              +-------+-------+-------+
          | SELECT  |              |       |       |       |
          | prev /|\|              | <---  |       |  ---> |
          | link  | |              |      4|      5|      6|
+---------+---------+---------+    +-------+-------+-------+
|    BACK | SELECT  | DISPLAY |    | END   |   |   | Page  |
|<-- prev | next  | | sel. -->|    | of    |   |   | DOWN  |
|    doc. | link \|/| link    |    | text 1|  \|/ 2|      3|
+---------+---------+---------+    +-------+-------+-------+
+---------------------------------------------------------+
| KEY       | DESCRIPTION                                 |
|-----------|---------------------------------------------|
| Control-A | jump to the beginning                       |
| Control-E | jump to the end                             |
| Control-B | jump to the previous page                   |
| Control-F | jump to the next page                       |
| Control-N | jump forward two lines                      |
| Control-P | jump back two lines                         |
| )         | jump forward half a page                    |
| (         | jump back half a page                       |
| {         | scroll left by half of the display's width  |
| }         | scroll right by half of the display's width |
| \#        | jump to the pseudo Toolbar or Banner        |
+---------------------------------------------------------+

Basic commands

+---------------------------------------------------------------------------------------+
| COMMAND     | KEY                 | DESCRIPTION                                       |
|-------------|---------------------|---------------------------------------------------|
| MAIN_MENU   | m or M              | starting document or homepage                     |
| RELOAD      | Control-R           | reload                                            |
| SEARCH      | / or s              | search                                            |
| HISTORY     | Backspace or Delete | history                                           |
| VLINKS      | V                   | visited links page                                |
| LIST        | l                   | compact list of all links in the current document |
| ADDRLIST    | A                   | list to all link in the current document          |
| INDEX       | i                   | index                                             |
| EDIT        | e                   | edit the file                                     |
| DOWNLOAD    | d or D              | download the source file                          |
| VIEW_SOURCE | \                   | view source                                       |
| SAVE        | p                   | save rendered file                                |
| KEYMAP      | k or K              | see key bindings                                  |
| OPTIONS     | o                   | options [r - rterurn; > - save]                   |
+---------------------------------------------------------------------------------------+

Other commands

+------------------------------------------------------------------------------------------+
| KEY       | DESCRIPTION                                                                  |
|-----------|------------------------------------------------------------------------------|
| G         | edit the URL of the current document and then use that as a goto URL         |
| E         | edit the URL (or ACTION) of the current link and then use that as a goto URL |
| g         | allow any URL to be viewed                                                   |
| z         | halt transfer process                                                        |
| !         | spawn default shell                                                          |
| \|        | toggle Lynx line-wrapping                                                    |
| Control-K | invoke the Cookie Jar Page                                                   |
| Control-T | toggle Lynx trace mode                                                       |
| Control-X | invoke the Cache Jar Page                                                    |
| ;         | show the Lynx Trace Log                                                      |
| =         | information about the current document and the currently selected link       |
| \*        | toggle image_links mode                                                      |
| @         | toggle raw 8-bit or CJK mode                                                 |
| [         | toggle pseudo_inlines mode                                                   |
| ]         | send HEAD requests for the current document or link                          |
+------------------------------------------------------------------------------------------+

Bookmarks

Save bookmark: a

Open bookmark file: v

VI keys

If set to ON then the lowercase h, j, k, and l keys will be mapped to left, down, up, and right arrow, respectively.

The uppercase H, J, K, and L keys remain mapped to their configured bindings (normally HELP, JUMP, KEYMAP, and LIST, respectively).

Command line switches

+-----------------------------------------------------------------------------------------------------+
| SWITCH               | DESCRIPTION                                                                  |
|----------------------|------------------------------------------------------------------------------|
| -anonymous           | apply restrictions appropriate for an anonymous account                      |
| -book                | use the bookmark page as the startfile                                       |
| -case                | enable case-sensitive string searching                                       |
| -crawl               | with -traversal, output each page to a file                                  |
|                      | with -dump, format output as with -traversal, but to stdout                  |
| -dump                | dump the formatted output to standard out                                    |
| -number_fields       | force numbering of links as well as form input fields                        |
| -number_links        | force numbering of links                                                     |
| -session=FILENAME    | resume from specified file on startup and saves session to that file on exit |
| -sessionin=FILENAME  | resume session from specified file                                           |
| -sessionout=FILENAME | save session to specified file                                               |
| -source              | dump HTML source instead of formatted text to stdout                         |
+-----------------------------------------------------------------------------------------------------+