emacs - eww
https://www.gnu.org/software/emacs/manual/html_mono/eww.html
Usage
You can start Eww with ‘M-x eww’. You’ll be asked to enter a search term or URL.
You can see a list of keyboard bindings with `?’, but here are a few you might want:
Shortcut | Description |
---|---|
‘TAB’ | Next link |
Shift+TAB | Previous link |
‘b’ | Add bookmark |
‘B’ | View bookmarks |
‘d’ | Download link under point |
‘l’ | Go back |
‘r’ | Go forward |
‘H’ | View history |
‘g’ | reload the page |
‘G’ | Enter a new URL or search |
‘R’ | Attempt to improve readability |
‘w’ | Copy the current URL |
M-<RET> | Open link in new tab |
‘s’ | Get a list of eww tabs |
Pressing w when point is on a link will call shr-maybe-probe-and-copy-url, which copies this link’s URL to the kill ring. If point is not on a link, pressing w calls eww-copy-page-url, which will copy the current page’s URL to the kill ring instead.
The M-RET command (eww-open-in-new-buffer) opens the URL at point in a new EWW buffer, akin to opening a link in a new “tab” in other browsers. When global-tab-line-mode is enabled, this buffer is displayed in the tab on the window tab line. When tab-bar-mode is enabled, a new tab is created on the frame tab bar.
The R command (eww-readable) will attempt to determine which part of the document contains the “readable” text, and will only display this part. This usually gets rid of menus and the like.
The M-I command (eww-toggle-images, capital letter i) toggles whether to display images or not. This also sets the shr-inhibit-images variable.
EWW remembers the URLs you have visited to allow you to go back and forth between them. By pressing l (eww-back-url) you go to the previous URL. You can go forward again with r (eww-forward-url). If you want an overview of your browsing history press H (eww-list-histories) to open the history buffer eww history. The history is lost when EWW is quit. If you want to remember websites you can use bookmarks.
EWW allows you to bookmark URLs. Simply hit b (eww-add-bookmark) to store a bookmark for the current website. You can view stored bookmarks with B (eww-list-bookmarks). This will open the bookmark buffer eww bookmarks.
To get summary of currently opened EWW buffers, press S (eww-list-buffers). The eww buffers buffer allows you to quickly kill, flip through and switch to specific EWW buffer. To switch EWW buffers through a minibuffer prompt, press s (eww-switch-to-buffer).
Although EWW and shr.el do their best to render webpages in GNU Emacs some websites use features which can not be properly represented or are not implemented (e.g., JavaScript). If you have trouble viewing a website with EWW then hit & (eww-browse-with-external-browser) inside the EWW buffer to open the website in the external browser specified by browse-url-secondary-browser-function. Some content types, such as video or audio content, do not make sense to display in GNU Emacs at all. You can tell EWW to open specific content automatically in an external browser by customizing eww-use-external-browser-for-content-type.
How to open multiple eww tabs
While you have a eww tab open, if you want to open another tab with a different url:
- paste the new url in the scratch buffer
- with the point on the url, call the function
eww-open-in-new-buffer