Coder Social home page Coder Social logo

w3m-layer's Introduction

W3M contribution layer for Spacemacs

中文

https://github.com/venmos/w3m-layer/blob/master/READMECN.org

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

Ubuntu/Debian

$sudo apt install w3m

Layer

$git clone https://github.com/venmos/w3m-layer.git ~/.emacs.d/private/w3m

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

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

Key Bindings

Boot w3m

Key BindingDescription
SPC a w oW3M open url
SPC a w fW3M open file
SPC a w sW3M Search
SPC a w bHelm w3m bookmarks

W3M

Key BindingDescription
oace-link
w pUse mpv playe Youtube
w yCopy point url
w fOpen file
w oOpen url
w OOpen url to new tab
w tOpen link to new tab
w TCreate empty tab
w sUse google seach
w SUse Google search to new tab
w lNext tab
w hPrevious tab
w dSave buffer to text
w DSave buffer to html
w xClose tab
w aAdd page to bookmarks
w bHelm w3m bookmarks
w BView bookmarks
w eEdit bookmarks
w mUse default browser open page
qClose w3m
QQuit W3M
BBack
NForward
HHome page
RRefresh
C-fPage down
C-bPage up

Config

Emacs-w3m

Recommended configuration example

(defun dotspacemacs/user-config ()
  (setq w3m-home-page "https://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
)

w3m-layer's People

Contributors

venmos avatar non-jedi avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.