Skip to content

venmos-zz/w3m-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

W3M contribution layer for Spacemacs

Description

This layer groups together packages to work with W3M.

It uses the W3M command line tool which allows users to browse websites.

use packages:

Emacs-w3m http://emacs-w3m.namazu.org

Helm-w3m https://github.com/emacs-helm/helm-w3m

Install

W3M

W3M

http://w3m.sourceforge.net

OS X

use homebrew install w3m

$ brew install w3m

Layer

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(w3m))

Config

Emacs-w3m

To use this config add it to your ~/.spacemacs

(defun dotspacemacs/user-config ()
  (setq w3m-home-page "http://www.google.com")
  ;; W3M Home Page
  (setq w3m-default-display-inline-images t)
  (setq w3m-default-toggle-inline-images t)
  ;; W3M default display images
  (setq w3m-command-arguments '("-cookie" "-F"))
  (setq w3m-use-cookies t)
  ;; W3M use cookies
  (setq browse-url-browser-function 'w3m-browse-url)
  ;; Browse url function use w3m
  (setq w3m-view-this-url-new-session-in-background t)
  ;; W3M view url new session in background
)

Key Bindings

W3M Layer

Key BindingDescription
SPC a w gW3M open url
SPC awGW3M open url to tag page
SPC a w sW3M Search
SPC a w SW3M Search to tag page
SPC a w bHelm w3m bookmarks
C-fPage down
C-bPage up

W3M

Key BindingDescription
qClose w3m
QQuit W3M
UOpen url
VOpen file
GOpen url to tag page
SUse google seach
BBack
NForward
HHome page
RRefresh
aAdd page to bookmarks
vView bookmarks
EEdit bookmarks
MUse browser open page

Releases

No releases published

Packages

No packages published