Difference between revisions of "Emacs-w3m"

From WikEmacs
Jump to navigation Jump to search
m (wikilinked to w3m.el)
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
  
 
Emacs-w3m - the web browser inside emacs which uses external program (w3m) for rendering.
 
Emacs-w3m - the web browser inside emacs which uses external program (w3m) for rendering.
 +
 +
The elisp package includes [[W3m-el|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:
 
Example keybindings config to make it feel more like conventional browser:
 
+
<source lang="lisp">
 
(require 'w3m-load)
 
(require 'w3m-load)
 
(require 'mime-w3m)
 
(require 'mime-w3m)
Line 22: Line 24:
 
    (local-set-key [mouse-1] #'w3m-mouse-view-this-url)
 
    (local-set-key [mouse-1] #'w3m-mouse-view-this-url)
 
    (local-set-key [mouse-2] #'w3m-mouse-view-this-url-new-session)))
 
    (local-set-key [mouse-2] #'w3m-mouse-view-this-url-new-session)))
 +
</source>
 +
 +
[[Category:Browse]]

Latest revision as of 05:01, 2 December 2015

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