Emacs-w3m

From WikEmacs
Jump to navigation Jump to search

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

Emacs-w3m
Description Web browser
Maintainer name of maintainer
Source http://emacs-w3m.namazu.org/
Part of Emacs yes

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)))