Emacs: Eww Web Browser
eww
is a web browser in emacs.
New in
Emacs 24.4 (Released 2014-10)
To start the web browser, Alt+x eww
.

while in eww,
Alt+x describe-mode
to see
list of commands.
Eww Keys
Here's most useful keys
- p
eww-previous-url
- r
eww-forward-url
- &
eww-browse-with-external-browser
- g
eww-reload
- w
eww-copy-page-url
- v
eww-view-source
See also: Emacs: Change Major Mode Keybinding
How to open a new URL?
Just Alt+x eww
again.
How to open a local HTML file?
Alt+x eww-open-file
.
How to switch to a real browser?
When in eww, Alt+x eww-browse-with-external-browser
【&】.
How to make emacs always use eww?
How to open URL in new buffer?
Alt+x rename-buffer
to rename the first one. Then, call eww again to open a new site.
or, put this in your Emacs Init File:
(when (fboundp 'eww) (defun xah-rename-eww-buffer () "Rename `eww-mode' buffer so sites open in new page. URL `http://xahlee.info/emacs/emacs/emacs_eww_web_browser.html' Version 2017-11-10" (let (($title (plist-get eww-data :title))) (when (eq major-mode 'eww-mode ) (if $title (rename-buffer (concat "eww " $title ) t) (rename-buffer "eww" t))))) (add-hook 'eww-after-render-hook 'xah-rename-eww-buffer))
Where is cookies and cache location?
- url-cookie-file
-
variable.
Default value is
"~/.emacs.d/url/cookies"
. - url-configuration-directory
-
Default value is
"~/.emacs.d/url/"
eww is written by Lars Magne Ingebrigtsen ( http://quimby.gnus.org/lmi/lmi.html ) , the same guy who wrote gnus. See also Lars Magne Ingebrigtsen blog about it at http://lars.ingebrigtsen.no/2013/06/16/eww/