spacemacs/contrib/chrome
Diego Berrocal 49fb70c0f6 Added Gmail messages support! with ham mode:
ATTENTION: this needs users to have pandoc installed...or any other
markdown executable in their path
2015-05-16 11:46:26 -04:00
..
img Rename edit-server layer to chrome 2015-05-16 01:32:46 -04:00
packages.el Added Gmail messages support! with ham mode: 2015-05-16 11:46:26 -04:00
README.md Add better integration with edit-server package 2015-05-16 11:46:24 -04:00

chrome contribution layer for Spacemacs

logo

Table of Contents

Description

This layer provides some integration with the Google Chrome browser.

Feature:

Install

Layer

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

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

Chrome extension

edit-server is a server that responds to edit requests sent Chrome via the Google Chrome extension Edit with Emacs. You have to install this extension.

More information can be found on Emacs Wiki.

The edit server is configured to start automatically when Spacemacs starts.

Configuration

Use edit-server-url-major-mode-alist to choose a major mode initialization function based on edit-server-url, or fall back to edit-server-default-major-mode that has a current value of markdown-mode.

(defun dotspacemacs/config ()
;; Open github text areas as org buffers
;; currently they are opened as markdown
  (setq edit-server-url-major-mode-alist
      '(("github\\.com" . org-mode)))
)

Or