From WikEmacs
Revision as of 01:01, 2 December 2015 by Xophist (talk | contribs) (wikilinked to w3m.el)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description Web browser
Maintainer name of maintainer
Source http://emacs-w3m.namazu.org/
Part of Emacs yes

Emacs-w3m - the web browser inside emacs which uses external program (w3m) for rendering.

The elisp package includes w3m.el, not to be confused with the w3.el of W3, aka Emacs/W3.

Example keybindings config to make it feel more like conventional browser:

(require 'w3m-load)
(require 'mime-w3m)
(add-hook 'w3m-mode-hook
	  (lambda ()
	    (setq w3m-new-session-in-background t)
	    (setq-local mouse-1-click-follows-link nil)
	    (local-set-key [backspace] #'w3m-view-previous-page)
	    (local-set-key (kbd "<C-tab>") #'w3m-next-buffer)
	    (local-set-key [mouse-1] #'w3m-mouse-view-this-url)
	    (local-set-key [mouse-2] #'w3m-mouse-view-this-url-new-session)))