Exacs: Replace edit-server with atomic-chrome.
This commit is contained in:
parent
fa82276f7d
commit
aa06333028
|
@ -1,6 +1,6 @@
|
|||
;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-01-01T02:44:56+0100>
|
||||
;; Time-stamp: <2020-01-01T05:03:16+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -52,18 +52,23 @@
|
|||
(server-start))
|
||||
)
|
||||
|
||||
;; Server for Firefox-extension that allows to use Emacs to edit textareas.
|
||||
;; https://addons.mozilla.org/de/firefox/addon/edit-with-emacs1/
|
||||
(use-package edit-server
|
||||
:custom
|
||||
(edit-server-url-major-mode-alist
|
||||
'(
|
||||
("^likeable\\.space/" . markdown-mode)
|
||||
("^schlomp\\.space/" . markdown-mode)
|
||||
("^wiki\\.gentoo\\.org/" . mediawiki-mode)
|
||||
("^github\\.com/" . markdown-mode)
|
||||
("^gitlab\\.com/" . markdown-mode)
|
||||
))
|
||||
;; Server for Firefox-extension that allows to use Emacs to edit textareas.
|
||||
;; https://addons.mozilla.org/en-US/firefox/addon/ghosttext/
|
||||
(use-package atomic-chrome
|
||||
:config
|
||||
(atomic-chrome-start-server)
|
||||
|
||||
:custom
|
||||
(atomic-chrome-url-major-mode-alist
|
||||
'(
|
||||
("^likeable\\.space/" . markdown-mode)
|
||||
("^schlomp\\.space/" . markdown-mode)
|
||||
("^wiki\\.gentoo\\.org/" . mediawiki-mode)
|
||||
("^github\\.com/" . markdown-mode)
|
||||
("^gitlab\\.com/" . markdown-mode)
|
||||
))
|
||||
(atomic-chrome-buffer-open-style 'frame)
|
||||
)
|
||||
|
||||
:config
|
||||
(edit-server-start)
|
||||
|
|
Loading…
Reference in New Issue
Block a user